From efa7876c34d7050bf0596e1f76c859a282b4f628 Mon Sep 17 00:00:00 2001 From: Matthew Fisher Date: Sun, 10 Nov 2024 13:08:14 -0600 Subject: [PATCH] Update deployment.yaml --- deployment.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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