From e7817be546a108d29e87a73bc98a0532f49a903a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Bompard?= Date: Tue, 9 Jul 2024 12:33:17 +0200 Subject: [PATCH] Mirrormanager: adjust the supplementalGroups MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Aurélien Bompard --- roles/openshift-apps/mirrormanager/templates/_macros.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/roles/openshift-apps/mirrormanager/templates/_macros.yml b/roles/openshift-apps/mirrormanager/templates/_macros.yml index f7a4e1390a..500a66cdd9 100644 --- a/roles/openshift-apps/mirrormanager/templates/_macros.yml +++ b/roles/openshift-apps/mirrormanager/templates/_macros.yml @@ -87,7 +87,5 @@ {% macro security_context() -%} securityContext: - fsGroup: 1001280000 - fsGroupChangePolicy: OnRootMismatch - supplementalGroups: [1001280000] + supplementalGroups: [{{ (env == "staging")|ternary("1001280000", "1000890000") }}] {% endmacro %}