Browse Source

Remove extra plex env variables

Waqar Ahmed 4 years ago
parent
commit
af4cb601df
2 changed files with 0 additions and 44 deletions
  1. 0 26
      test/plex/1.0.1/questions.yaml
  2. 0 18
      test/plex/1.0.1/templates/deployment.yaml

+ 0 - 26
test/plex/1.0.1/questions.yaml

@@ -74,12 +74,6 @@ questions:
       type: string
       default: ""
 
-  - variable: advertiseIp
-    label: "Plex Advertise IP"
-    group: "Plex Configuration"
-    schema:
-      type: string
-
   - variable: extraEnv
     label: "Environment variables for plex"
     group: "Plex Configuration"
@@ -88,26 +82,6 @@ questions:
       additional_attrs: true
       attrs: []
 
-  - variable: proxy
-    label: "Configure Proxy environment variable"
-    group: "Plex Configuration"
-    schema:
-      type: dict
-      attrs:
-        - variable: enabled
-          label: "Enable Proxy"
-          schema:
-            type: boolean
-            default: false
-        - variable: http
-          label: "HTTP Proxy"
-          schema:
-            type: string
-        - variable: https
-          label: "HTTPS Proxy"
-          schema:
-            type: string
-
   - variable: hostNetwork
     label: "Configure Host Network"
     group: "Networking"

+ 0 - 18
test/plex/1.0.1/templates/deployment.yaml

@@ -67,24 +67,6 @@ spec:
             valueFrom:
               fieldRef:
                 fieldPath: metadata.namespace
-  {{- if .Values.proxy.enabled }}
-    {{- if .Values.proxy.http }}
-          - name: "HTTP_PROXY"
-            value: "{{.Values.proxy.http}}"
-    {{- end }}
-    {{- if .Values.proxy.https }}
-          - name: "HTTPS_PROXY"
-            value: "{{.Values.proxy.https}}"
-    {{- end }}
-  {{- end }}
-  {{- if .Values.advertiseIp }}
-          - name: "ADVERTISE_IP"
-            value: "{{.Values.advertiseIp}}"
-{{- end }}
-{{- if .Values.allowedNetworks }}
-          - name: "ALLOWED_NETWORKS"
-            value: "{{include "joinListWithComma" .Values.allowedNetworks}}"
-{{- end }}
 # Extra ENV Values supplied by user
 {{- range $key, $value := .Values.extraEnv }}
           - name: {{ $key }}