introduced new environmental variables for use of proxy within pms
This commit is contained in:
@@ -44,6 +44,9 @@ The following tables lists the configurable parameters of the Plex chart and the
|
||||
| `persistence.config.storageClass` | Type of persistent volume claim | `-` |
|
||||
| `resources` | CPU/Memory resource requests/limits | `{}` |
|
||||
| `podAnnotations` | Key-value pairs to add as pod annotations | `{}` |
|
||||
|
||||
| `proxy.enable` | use to enable PMS proxy environmental variable | `{false}` |
|
||||
| `proxy.http` | HTTP_PROXY value 'http://proxy.lan:8080' | `{}` |
|
||||
| `proxy.https` | HTTPS_PROXY value 'http://proxy.lan:8080' | `{}` |
|
||||
| `proxy.noproxy` | NO_PROXY value 'localhost,127.0.0.1,10.96.0.0/12,10.244.0.0/12' | `{}` |
|
||||
|
||||
Read through the [values.yaml](values.yaml) file. It has several commented out suggested values.
|
||||
|
||||
@@ -112,6 +112,20 @@ spec:
|
||||
value: "{{ .Values.persistence.config.claimName }}"
|
||||
{{- else }}
|
||||
value: "{{ template "fullname" . }}-config"
|
||||
{{- end }}
|
||||
{{- if .Values.proxy.enable }}
|
||||
{{- if .Values.proxy.http }}
|
||||
- name: "HTTP_PROXY"
|
||||
value: "{{.Values.proxy.http}}"
|
||||
{{- end }}
|
||||
{{- if .Values.proxy.https }}
|
||||
- name: "HTTPS_PROXY"
|
||||
value: "{{.Values.proxy.https}}"
|
||||
{{- end }}
|
||||
{{- if .Values.proxy.noproxy }}
|
||||
- name: "NO_PROXY"
|
||||
value: "{{.Values.proxy.noproxy}}"
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
volumeMounts:
|
||||
- name: data
|
||||
|
||||
@@ -118,3 +118,10 @@ resources: {}
|
||||
# memory: 128Mi
|
||||
|
||||
podAnnotations: {}
|
||||
|
||||
proxy:
|
||||
# This allows to set a proxy environment variable, which PMS uses to fetch the token and assets like movie cover
|
||||
enable: false
|
||||
# http: "http://proxy:8080"
|
||||
# https: "https://proxy:8080"
|
||||
# noproxy: "localhost,127.0.0.1,10.96.0.0/12,10.244.0.0/12"
|
||||
|
||||
Reference in New Issue
Block a user