diff --git a/apps/authentik/deployment.yaml b/apps/authentik/deployment.yaml index 12aceb9..8461bce 100644 --- a/apps/authentik/deployment.yaml +++ b/apps/authentik/deployment.yaml @@ -52,6 +52,9 @@ spec: app: authentik component: server spec: + # Pod-Level SecurityContext: fsGroup für Volume-Berechtigungen + securityContext: + fsGroup: 1000 # InitContainer: Setze Berechtigungen für /media initContainers: - name: init-media-permissions @@ -84,7 +87,6 @@ spec: securityContext: runAsUser: 1000 runAsGroup: 1000 - fsGroup: 1000 readinessProbe: httpGet: path: /-/health/ready/ @@ -126,6 +128,9 @@ spec: app: authentik component: worker spec: + # Pod-Level SecurityContext: fsGroup für Volume-Berechtigungen + securityContext: + fsGroup: 1000 # InitContainer: Setze Berechtigungen für /media initContainers: - name: init-media-permissions @@ -153,7 +158,6 @@ spec: securityContext: runAsUser: 1000 runAsGroup: 1000 - fsGroup: 1000 volumeMounts: - name: media mountPath: /media