From 52c8e2fcb355f98c100e33aca8ec3561c52caa04 Mon Sep 17 00:00:00 2001 From: Joseph Hanson Date: Wed, 28 Feb 2024 20:35:27 -0600 Subject: [PATCH] Update UID/GID to be more consistent. --- kubernetes/apps/default/maintainerr/app/helmrelease.yaml | 6 +++--- kubernetes/apps/default/maintainerr/ks.yaml | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/kubernetes/apps/default/maintainerr/app/helmrelease.yaml b/kubernetes/apps/default/maintainerr/app/helmrelease.yaml index dcbc2e92..719dc102 100644 --- a/kubernetes/apps/default/maintainerr/app/helmrelease.yaml +++ b/kubernetes/apps/default/maintainerr/app/helmrelease.yaml @@ -36,9 +36,9 @@ spec: memory: 1Gi pod: securityContext: - runAsUser: 1000 - runAsGroup: 1000 - fsGroup: 1000 + runAsUser: ${APP_UID} + runAsGroup: ${APP_GID} + fsGroup: ${APP_GID} fsGroupChangePolicy: "OnRootMismatch" service: diff --git a/kubernetes/apps/default/maintainerr/ks.yaml b/kubernetes/apps/default/maintainerr/ks.yaml index 6536f197..dc58ef8d 100644 --- a/kubernetes/apps/default/maintainerr/ks.yaml +++ b/kubernetes/apps/default/maintainerr/ks.yaml @@ -25,3 +25,5 @@ spec: substitute: APP: *app VOLSYNC_CAPACITY: 1Gi + APP_GID: "1000" + APP_UID: "1000"