Commit af4cb601 authored by Waqar Ahmed's avatar Waqar Ahmed

Remove extra plex env variables

parent 14ab59e0
...@@ -74,12 +74,6 @@ questions: ...@@ -74,12 +74,6 @@ questions:
type: string type: string
default: "" default: ""
- variable: advertiseIp
label: "Plex Advertise IP"
group: "Plex Configuration"
schema:
type: string
- variable: extraEnv - variable: extraEnv
label: "Environment variables for plex" label: "Environment variables for plex"
group: "Plex Configuration" group: "Plex Configuration"
...@@ -88,26 +82,6 @@ questions: ...@@ -88,26 +82,6 @@ questions:
additional_attrs: true additional_attrs: true
attrs: [] 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 - variable: hostNetwork
label: "Configure Host Network" label: "Configure Host Network"
group: "Networking" group: "Networking"
......
...@@ -67,24 +67,6 @@ spec: ...@@ -67,24 +67,6 @@ spec:
valueFrom: valueFrom:
fieldRef: fieldRef:
fieldPath: metadata.namespace 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 # Extra ENV Values supplied by user
{{- range $key, $value := .Values.extraEnv }} {{- range $key, $value := .Values.extraEnv }}
- name: {{ $key }} - name: {{ $key }}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment