From 71f321e823f2f05a606a6ddcfe5289a1a71ea2d6 Mon Sep 17 00:00:00 2001 From: Joe Monk Date: Sun, 26 Jan 2025 23:34:59 +0000 Subject: [PATCH] lsio has inbuilt permission controls --- apps/sonarr/deployment.yaml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/apps/sonarr/deployment.yaml b/apps/sonarr/deployment.yaml index 4b82ef2..79dcb91 100644 --- a/apps/sonarr/deployment.yaml +++ b/apps/sonarr/deployment.yaml @@ -42,6 +42,11 @@ spec: - name: sonarr image: lscr.io/linuxserver/sonarr:4.0.8 imagePullPolicy: IfNotPresent + env: + - name: PUID + value: "1000" + - name: PGID + value: "1000" livenessProbe: httpGet: path: /ping @@ -67,7 +72,4 @@ spec: volumes: - name: config persistentVolumeClaim: - claimName: sonarr - securityContext: - runAsUser: 1000 - runAsGroup: 1000 \ No newline at end of file + claimName: sonarr \ No newline at end of file