From 561ed74f6f7345bbebf87147cc1146a189ac96cb Mon Sep 17 00:00:00 2001 From: SeanOMik Date: Wed, 14 Jun 2023 00:51:04 -0400 Subject: [PATCH] Run pgadmin4 as nonroot --- .../apps/database/postgresql/pgadmin4/helm-release.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/cluster/apps/database/postgresql/pgadmin4/helm-release.yaml b/cluster/apps/database/postgresql/pgadmin4/helm-release.yaml index 3956a6cf..e1e14172 100644 --- a/cluster/apps/database/postgresql/pgadmin4/helm-release.yaml +++ b/cluster/apps/database/postgresql/pgadmin4/helm-release.yaml @@ -29,4 +29,10 @@ spec: tls: - hosts: - *host - secretName: wildcard-main-tls \ No newline at end of file + secretName: wildcard-main-tls + + podSecurityContext: + runAsUser: 10000 + runAsGroup: 10000 + fsGroup: 100 + fsGroupChangePolicy: "OnRootMismatch" \ No newline at end of file