lsio has inbuilt permission controls

This commit is contained in:
2025-01-26 23:34:59 +00:00
parent ce13fac656
commit 71f321e823

View File

@@ -42,6 +42,11 @@ spec:
- name: sonarr - name: sonarr
image: lscr.io/linuxserver/sonarr:4.0.8 image: lscr.io/linuxserver/sonarr:4.0.8
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
env:
- name: PUID
value: "1000"
- name: PGID
value: "1000"
livenessProbe: livenessProbe:
httpGet: httpGet:
path: /ping path: /ping
@@ -67,7 +72,4 @@ spec:
volumes: volumes:
- name: config - name: config
persistentVolumeClaim: persistentVolumeClaim:
claimName: sonarr claimName: sonarr
securityContext:
runAsUser: 1000
runAsGroup: 1000