chore(sonarr): Use ConfigMap for env vars

This commit is contained in:
Peter 2026-01-27 22:20:59 +01:00
parent 32109fd78f
commit 2eecdce543
Signed by: Peter
SSH key fingerprint: SHA256:B5tYaxBExaDm74r1px9iVeZ6F/ZDiyiy9SbBqfZYrvg
2 changed files with 12 additions and 7 deletions

View file

@ -0,0 +1,9 @@
---
apiVersion: v1
kind: ConfigMap
metadata:
name: sonarr-envs
data:
PUID: "1000"
PGID: "1000"
TZ: Europe/Amsterdam

View file

@ -28,13 +28,9 @@ spec:
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
ports: ports:
- containerPort: 8989 - containerPort: 8989
env: envFrom:
- name: PUID - configMapRef:
value: "1000" name: sonarr-envs
- name: PGID
value: "1000"
- name: TZ
value: Europe/Amsterdam
volumeMounts: volumeMounts:
- mountPath: /config - mountPath: /config
name: sonarr-config name: sonarr-config