From 8cd673e3184b3963897fc429017f4e866bc8323d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franti=C5=A1ek=20Zatloukal?= Date: Mon, 15 Apr 2024 11:16:02 +0200 Subject: [PATCH] BlockerBugs: Use volumeMounts for secrets --- roles/openshift-apps/blockerbugs/templates/cron.yml | 1 + roles/openshift-apps/blockerbugs/templates/deploymentconfig.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/roles/openshift-apps/blockerbugs/templates/cron.yml b/roles/openshift-apps/blockerbugs/templates/cron.yml index 7e9b3a2563..c28334f093 100644 --- a/roles/openshift-apps/blockerbugs/templates/cron.yml +++ b/roles/openshift-apps/blockerbugs/templates/cron.yml @@ -88,6 +88,7 @@ spec: {% else %} value: "1" {% endif %} + volumeMounts: - name: blockerbugs-secret-volume mountPath: /opt/app-root/secret/ readOnly: true diff --git a/roles/openshift-apps/blockerbugs/templates/deploymentconfig.yml b/roles/openshift-apps/blockerbugs/templates/deploymentconfig.yml index 53db511fb0..0bca32fb48 100644 --- a/roles/openshift-apps/blockerbugs/templates/deploymentconfig.yml +++ b/roles/openshift-apps/blockerbugs/templates/deploymentconfig.yml @@ -107,6 +107,7 @@ spec: {% else %} value: "1" {% endif %} + volumeMounts: - name: blockerbugs-secret-volume mountPath: /opt/app-root/secret/ readOnly: true