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:
image:
repository: dpage/pgadmin4
tag: 8.6@sha256:701f221dfc5da1fb3d4095ad4264ebb00ef4f7ecc6573007a49a59740019703d
command: [/bin/chown, -R, 5050:5050, /var/lib/pgadmin]
securityContext: securityContext:
runAsUser: 0 runAsUser: 5050 # ${APP_UID}
runAsGroup: 5050 # ${APP_GID}
fsGroup: 5050 # ${APP_GID}
fsGroupChangePolicy: OnRootMismatch
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"