diff --git a/deployment.yaml b/deployment.yaml index 8c688fc..b7a016b 100644 --- a/deployment.yaml +++ b/deployment.yaml @@ -12,6 +12,8 @@ spec: labels: app: grocy spec: + securityContext: + fsGroup: 2000 containers: - name: grocy image: lscr.io/linuxserver/grocy:v4.2.0-ls271 @@ -32,7 +34,7 @@ spec: protocol: TCP securityContext: runAsUser: 1001 - fsGroup: 2000 + runAsGroup: 2000 volumeMounts: - mountPath: /config name: grocy-data