From f265dea10edf5e2a8d32c315afd34bd54d8abf74 Mon Sep 17 00:00:00 2001 From: Stavros Kois <47820033+stavros-k@users.noreply.github.com> Date: Sun, 28 Aug 2022 00:00:30 +0300 Subject: [PATCH] feat(plex): disable GDM by default (#3597) * feat(plex): disable GDM by default * Update charts/stable/plex/Chart.yaml --- charts/stable/plex/Chart.yaml | 2 +- charts/stable/plex/questions.yaml | 6 ++++++ charts/stable/plex/values.yaml | 2 ++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/charts/stable/plex/Chart.yaml b/charts/stable/plex/Chart.yaml index 95acc4b59b8..383ebe7ac7c 100644 --- a/charts/stable/plex/Chart.yaml +++ b/charts/stable/plex/Chart.yaml @@ -21,7 +21,7 @@ sources: - https://github.com/truecharts/charts/tree/master/charts/stable/plex - https://github.com/k8s-at-home/container-images/pkgs/container/plex type: application -version: 10.1.3 +version: 10.2.0 annotations: truecharts.org/catagories: | - media diff --git a/charts/stable/plex/questions.yaml b/charts/stable/plex/questions.yaml index 0a78746f5de..0d6ed1a8544 100644 --- a/charts/stable/plex/questions.yaml +++ b/charts/stable/plex/questions.yaml @@ -35,6 +35,12 @@ questions: type: string valid_chars: '^$|^(http(s)?:\/\/([a-zA-Z0-9.-]*)(:\d{0,5})?,?)*$' default: "" + - variable: disableGDM + label: "Disable GDM" + description: "Recommended to keep this to true. Disables legacy local network discovery. Keeping it enabled might break discovery for some Plex Clients" + schema: + type: boolean + default: true - variable: env group: "Container Configuration" label: "Image Environment" diff --git a/charts/stable/plex/values.yaml b/charts/stable/plex/values.yaml index 8898f40b297..de991613bbf 100644 --- a/charts/stable/plex/values.yaml +++ b/charts/stable/plex/values.yaml @@ -23,9 +23,11 @@ plex: # User Defined serverIP: "127.0.0.1" additionalAdvertiseURL: "" + disableGDM: true env: ADVERTISE_IP: "{{ tpl (.Values.plex.serverURL) .}}{{ tpl (.Values.plex.serverIngressURL) . }}{{ tpl (.Values.plex.serverIngressURLPort) . }}{{ with .Values.plex.additionalAdvertiseURL }},{{ . }}{{ end }}" + PLEX_PREFERENCE_GDM: 'GdmEnabled="{{ ternary "0" "1" .Values.plex.disableGDM }}"' # User Defined ALLOWED_NETWORKS: "172.16.0.0/12,10.0.0.0/8,192.168.0.0/16" PLEX_CLAIM: ""