fix: pgadmin UID

This commit is contained in:
auricom
2024-05-16 04:58:13 +02:00
parent 046948309e
commit ad280a349a
2 changed files with 8 additions and 8 deletions

View File

@@ -32,14 +32,12 @@ spec:
pgadmin: pgadmin:
annotations: annotations:
reloader.stakater.com/auto: "true" reloader.stakater.com/auto: "true"
initContainers: pod:
volume-permissions: securityContext:
image: runAsUser: 5050 # ${APP_UID}
repository: dpage/pgadmin4 runAsGroup: 5050 # ${APP_GID}
tag: 8.6@sha256:701f221dfc5da1fb3d4095ad4264ebb00ef4f7ecc6573007a49a59740019703d fsGroup: 5050 # ${APP_GID}
command: [/bin/chown, -R, 5050:5050, /var/lib/pgadmin] fsGroupChangePolicy: OnRootMismatch
securityContext:
runAsUser: 0
containers: containers:
app: app:
image: image:

View File

@@ -27,3 +27,5 @@ spec:
substitute: substitute:
APP: *app APP: *app
VOLSYNC_CAPACITY: 2Gi VOLSYNC_CAPACITY: 2Gi
VOLSYNC_UID: "5050"
VOLSYNC_GID: "5050"