diff --git a/k8s/apps/n8n/plain/deployment-main.yaml b/k8s/apps/n8n/plain/deployment-main.yaml index 6a001ec..1e20ff2 100644 --- a/k8s/apps/n8n/plain/deployment-main.yaml +++ b/k8s/apps/n8n/plain/deployment-main.yaml @@ -103,4 +103,5 @@ spec: securityContext: runAsUser: 1000 runAsGroup: 1000 - runAsNonRoot: true \ No newline at end of file + runAsNonRoot: true + fsGroup: 1000 \ No newline at end of file diff --git a/k8s/apps/n8n/plain/deployment-worker.yaml b/k8s/apps/n8n/plain/deployment-worker.yaml index f45b3cf..c87dad6 100644 --- a/k8s/apps/n8n/plain/deployment-worker.yaml +++ b/k8s/apps/n8n/plain/deployment-worker.yaml @@ -87,4 +87,5 @@ spec: securityContext: runAsUser: 1000 runAsGroup: 1000 - runAsNonRoot: true \ No newline at end of file + runAsNonRoot: true + fsGroup: 1000 \ No newline at end of file