Skip to content

Commit

Permalink
Add COMPONENT_SECRET_NAMESPACE to cronjob
Browse files Browse the repository at this point in the history
  • Loading branch information
sedroche committed Mar 11, 2019
1 parent 67e279e commit 90e5c97
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions templates/openshift/backup-cronjob-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 90e5c97

Please sign in to comment.