update plex
This commit is contained in:
@ -18,10 +18,20 @@ spec:
|
||||
imagePullSecrets:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
hostNetwork: true
|
||||
dnsPolicy: ClusterFirstWithHostNet
|
||||
securityContext:
|
||||
{{- toYaml .Values.podSecurityContext | nindent 8 }}
|
||||
containers:
|
||||
- name: debug
|
||||
image: busybox:latest
|
||||
command: ['sleep', 'infinity']
|
||||
- name: {{ .Chart.Name }}
|
||||
securityContext:
|
||||
privileged: {{ .Values.securityContext.privileged }}
|
||||
capabilities:
|
||||
add:
|
||||
{{ toYaml .Values.securityContext.capabilities.add | indent 16 }}
|
||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
|
||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||
env:
|
||||
|
@ -11,14 +11,19 @@ image:
|
||||
|
||||
# Security context for the container
|
||||
podSecurityContext:
|
||||
runAsUser: 1000
|
||||
runAsGroup: 1000
|
||||
fsGroup: 1000
|
||||
runAsUser: 0
|
||||
runAsGroup: 0
|
||||
fsGroup: 0
|
||||
|
||||
# Configurable user and group IDs
|
||||
securityContext:
|
||||
PUID: 1000
|
||||
PGID: 1000
|
||||
privileged: true
|
||||
capabilities:
|
||||
add:
|
||||
- SYS_ADMIN
|
||||
- NET_ADMIN
|
||||
|
||||
service:
|
||||
type: ClusterIP
|
||||
@ -51,6 +56,10 @@ env:
|
||||
VERSION: "latest"
|
||||
# Claim token from plex.tv/claim
|
||||
PLEX_CLAIM: ""
|
||||
# Proxy settings (if needed)
|
||||
HTTP_PROXY: ""
|
||||
HTTPS_PROXY: ""
|
||||
NO_PROXY: "localhost,127.0.0.1,10.96.0.0/12,192.168.0.0/16"
|
||||
|
||||
# Persistence configuration
|
||||
persistence:
|
||||
|
Reference in New Issue
Block a user