Merge pull request #65 from msenebald/http_proxy
introduced new environmental variables for use of proxy within pms
This commit is contained in:
@@ -2,7 +2,7 @@ apiVersion: v1
|
|||||||
appVersion: 1.16.0.1226-7eb2c8f6f
|
appVersion: 1.16.0.1226-7eb2c8f6f
|
||||||
description: Plex Media Server
|
description: Plex Media Server
|
||||||
name: kube-plex
|
name: kube-plex
|
||||||
version: 0.2.4
|
version: 0.2.5
|
||||||
keywords:
|
keywords:
|
||||||
- plex
|
- plex
|
||||||
home: https://plex.tv/
|
home: https://plex.tv/
|
||||||
|
|||||||
@@ -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 | `-` |
|
| `persistence.config.storageClass` | Type of persistent volume claim | `-` |
|
||||||
| `resources` | CPU/Memory resource requests/limits | `{}` |
|
| `resources` | CPU/Memory resource requests/limits | `{}` |
|
||||||
| `podAnnotations` | Key-value pairs to add as pod annotations | `{}` |
|
| `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.
|
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 }}"
|
value: "{{ .Values.persistence.config.claimName }}"
|
||||||
{{- else }}
|
{{- else }}
|
||||||
value: "{{ template "fullname" . }}-config"
|
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 }}
|
{{- end }}
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: data
|
- name: data
|
||||||
|
|||||||
@@ -118,3 +118,10 @@ resources: {}
|
|||||||
# memory: 128Mi
|
# memory: 128Mi
|
||||||
|
|
||||||
podAnnotations: {}
|
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