From 90e5c9764c0f143d4240e97ccb69696e920f4c1c Mon Sep 17 00:00:00 2001 From: John Roche Date: Mon, 11 Mar 2019 13:26:07 +0000 Subject: [PATCH] Add COMPONENT_SECRET_NAMESPACE to cronjob --- templates/openshift/backup-cronjob-template.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/templates/openshift/backup-cronjob-template.yaml b/templates/openshift/backup-cronjob-template.yaml index 2c95d0a..041703c 100644 --- a/templates/openshift/backup-cronjob-template.yaml +++ b/templates/openshift/backup-cronjob-template.yaml @@ -42,6 +42,8 @@ objects: value: "${ENCRYPTION_SECRET_NAME}" - name: COMPONENT_SECRET_NAME value: "${COMPONENT_SECRET_NAME}" + - name: COMPONENT_SECRET_NAMESPACE + value: "${COMPONENT_SECRET_NAMESPACE}" - name: PRODUCT_NAME value: "${PRODUCT_NAME}" restartPolicy: Never @@ -62,6 +64,9 @@ parameters: description: Encryption engine to encrypt component archive before uploading it - name: COMPONENT_SECRET_NAME description: Component secret name to create environment variables from + - name: COMPONENT_SECRET_NAMESPACE + description: If the component secret is not in default, put it's namespace here + value: default - name: BACKEND_SECRET_NAME description: Backend secret name to create environment variables from required: true