From d2d34ab68d65c1575938bb228d4e0aff130a32a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Bompard?= Date: Tue, 9 Jul 2024 11:43:53 +0200 Subject: [PATCH] Mirrormanager: set the security context in the frontend as well MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Aurélien Bompard --- .../mirrormanager/templates/deploymentconfig.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/roles/openshift-apps/mirrormanager/templates/deploymentconfig.yml b/roles/openshift-apps/mirrormanager/templates/deploymentconfig.yml index 494cd00738..2457c21a36 100644 --- a/roles/openshift-apps/mirrormanager/templates/deploymentconfig.yml +++ b/roles/openshift-apps/mirrormanager/templates/deploymentconfig.yml @@ -1,4 +1,4 @@ -{% from "_macros.yml" import common_volume_mounts, common_volumes, common_env %} +{% from "_macros.yml" import common_volume_mounts, common_volumes, common_env, security_context %} --- apiVersion: apps.openshift.io/v1 kind: DeploymentConfig @@ -65,6 +65,7 @@ spec: - name: secrets secret: secretName: secrets + {{ security_context() }} triggers: - type: ConfigChange