Skip to content

Commit

Permalink
observer: propagate LETSENCRYPT_ENVIRONMENT
Browse files Browse the repository at this point in the history
Signed-off-by: Michal Minář <miminar@redhat.com>
  • Loading branch information
Michal Minář committed Apr 27, 2020
1 parent 1d4e441 commit 85ac1ca
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
6 changes: 5 additions & 1 deletion observer/observer.sh
Expand Up @@ -290,7 +290,11 @@ function deployComponent() {
if evalBool DEPLOY_SDI_REGISTRY && [[ -n "${NAMESPACE:-}" ]]; then
projects+=( "$NAMESPACE" )
fi
args+=( "PROJECTS_TO_MONITOR=$(join , "${projects[@]}")" )
args+=(
"PROJECTS_TO_MONITOR=$(join , "${projects[@]}")"
"LETSENCRYPT_ENVIRONMENT=${LETSENCRYPT_ENVIRONMENT:-}"
)

;;
esac

Expand Down
2 changes: 1 addition & 1 deletion registry/ocp-template.json
Expand Up @@ -4,7 +4,7 @@
"message": "TODO",
"metadata": {
"annotations": {
"description": "TODO",
"description": "",
"openshift.io/display-name": "TODO",
"openshift.io/documentation-url": "https://access.redhat.com/articles/4324391",
"openshift.io/provider-display-name": "Red Hat, Inc."
Expand Down
5 changes: 5 additions & 0 deletions src/registry-template.jsonnet
Expand Up @@ -7,6 +7,11 @@ base.DCTemplate {
local container = super.objects[0].spec.template.spec.containers[0],
resourceName: 'container-image-registry',
imageStreamTag: regtmpl.resourceName + ':latest',
metadata+: {
annotations+: {
description: '',
},
},
parametersToExport+: [],

local bc = bctmpl.BuildConfigTemplate {
Expand Down

0 comments on commit 85ac1ca

Please sign in to comment.