Commit af4cb601 authored by Waqar Ahmed's avatar Waqar Ahmed

Remove extra plex env variables

parent 14ab59e0
......@@ -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"
......
......@@ -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 }}
......
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