diff --git a/manifest.yaml b/manifest.yaml index 1f51b4f..87af467 100644 --- a/manifest.yaml +++ b/manifest.yaml @@ -88,7 +88,12 @@ spec: lifecycle: preStop: exec: - command: [ "/bin/sh", "-c", "kill -s TERM 1; while test $(ps ax | grep -v grep | grep bash | wc -l) -gt 0; do sleep 2s; done" ] + command: + [ + "/bin/sh", + "-c", + "kill -s TERM 1; while test $(ps ax | grep -v grep | grep bash | wc -l) -gt 0; do sleep 2s; done", + ] resources: limits: cpu: "${APP_CI_CPU_LIMIT}" @@ -97,21 +102,21 @@ spec: cpu: "${APP_CI_CPU_REQUEST}" memory: "${APP_CI_MEMORY_REQUEST}" command: - - "bash" + - "bash" args: - - "k8s-queues.sh" + - "k8s-queues.sh" envFrom: - - configMapRef: - name: ${CI_PROJECT_PATH_SLUG}-config-map + - configMapRef: + name: ${CI_PROJECT_PATH_SLUG}-config-map volumeMounts: - - name: storage - mountPath: /app/srcs/storage + - name: storage + mountPath: /app/srcs/storage imagePullSecrets: - name: docker-registry-credentials securityContext: - runAsUser: 33 - runAsGroup: 33 - fsGroup: 33 + runAsUser: 82 + runAsGroup: 82 + fsGroup: 82 fsGroupChangePolicy: "OnRootMismatch" volumes: - name: storage @@ -197,8 +202,8 @@ spec: persistentVolumeClaim: claimName: ${CI_PROJECT_PATH_SLUG}-pvc-storage securityContext: - runAsUser: 33 - runAsGroup: 33 - fsGroup: 33 + runAsUser: 82 + runAsGroup: 82 + fsGroup: 82 fsGroupChangePolicy: "OnRootMismatch" restartPolicy: OnFailure