From 537422ffa0981b394b986fbd3dfa5c569af5170d Mon Sep 17 00:00:00 2001 From: K Muller Date: Fri, 23 Oct 2026 16:58:58 +0200 Subject: [PATCH] fix: :bug: fix alpine permission --- manifest.yaml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/manifest.yaml b/manifest.yaml index 5602d1d..db3ae38 100644 --- a/manifest.yaml +++ b/manifest.yaml @@ -40,9 +40,9 @@ spec: app: ${CI_PROJECT_PATH_SLUG}-app spec: securityContext: - runAsUser: 33 - runAsGroup: 33 - fsGroup: 33 + runAsUser: 82 + runAsGroup: 82 + fsGroup: 82 fsGroupChangePolicy: OnRootMismatch volumes: - name: apache-run @@ -66,8 +66,8 @@ spec: - name: laravel-cache mountPath: /app/srcs/bootstrap/cache securityContext: - runAsUser: 33 - runAsGroup: 33 + runAsUser: 82 + runAsGroup: 82 # TODO : Faire le lien symbolique au build de l'image # readOnlyRootFilesystem: true # TODO : a priori incompatible avec PVC @@ -164,9 +164,9 @@ spec: template: spec: securityContext: - runAsUser: 33 - runAsGroup: 33 - fsGroup: 33 + runAsUser: 82 + runAsGroup: 82 + fsGroup: 82 fsGroupChangePolicy: OnRootMismatch affinity: podAffinity: @@ -195,8 +195,8 @@ spec: - name: storage mountPath: /app/srcs/storage securityContext: - runAsUser: 33 - runAsGroup: 33 + runAsUser: 82 + runAsGroup: 82 # TODO : valider le POC # readOnlyRootFilesystem: true # TODO : a priori incompatible avec PVC @@ -207,4 +207,4 @@ spec: - name: storage persistentVolumeClaim: claimName: ${CI_PROJECT_PATH_SLUG}-pvc-storage - restartPolicy: OnFailure \ No newline at end of file + restartPolicy: OnFailure