chore(sonarr): Use ConfigMap for env vars
This commit is contained in:
parent
32109fd78f
commit
2eecdce543
2 changed files with 12 additions and 7 deletions
9
k8s-wheatley/sonarr/configmap.yaml
Normal file
9
k8s-wheatley/sonarr/configmap.yaml
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
---
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: sonarr-envs
|
||||
data:
|
||||
PUID: "1000"
|
||||
PGID: "1000"
|
||||
TZ: Europe/Amsterdam
|
||||
|
|
@ -28,13 +28,9 @@ spec:
|
|||
imagePullPolicy: IfNotPresent
|
||||
ports:
|
||||
- containerPort: 8989
|
||||
env:
|
||||
- name: PUID
|
||||
value: "1000"
|
||||
- name: PGID
|
||||
value: "1000"
|
||||
- name: TZ
|
||||
value: Europe/Amsterdam
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
name: sonarr-envs
|
||||
volumeMounts:
|
||||
- mountPath: /config
|
||||
name: sonarr-config
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue