mirror of
https://github.com/truenas/charts.git
synced 2026-11-28 06:52:27 +08:00
Remove extra plex env variables
This commit is contained in:
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user