diff --git a/clusters/cl01tl/storage/pgadmin/values.yaml b/clusters/cl01tl/storage/pgadmin/values.yaml index e4d36df4c..b7429ec33 100644 --- a/clusters/cl01tl/storage/pgadmin/values.yaml +++ b/clusters/cl01tl/storage/pgadmin/values.yaml @@ -4,7 +4,22 @@ pgadmin4: type: deployment replicas: 1 strategy: Recreate - revisionHistoryLimit: 3 + initContainers: + init-chmod-data: + securityContext: + runAsUser: 0 + image: + repository: dpage/pgadmin4 + tag: "8.9" + pullPolicy: IfNotPresent + command: + - /bin/chown -R + - 5050:5050 + - /var/lib/pgadmin + resources: + requests: + cpu: 100m + memory: 128Mi containers: main: image: @@ -66,6 +81,9 @@ pgadmin4: retain: true advancedMounts: main: + init-chmod-data: + - path: /var/lib/pgadmin + readOnly: false main: - path: /var/lib/pgadmin readOnly: false