summaryrefslogtreecommitdiffstats
path: root/roles/openshift_hosted/templates
diff options
context:
space:
mode:
authorKenny Woodson <kwoodson@redhat.com>2017-07-18 10:28:58 -0400
committerKenny Woodson <kwoodson@redhat.com>2017-07-18 10:28:58 -0400
commit35919e11333886b3190ae782034944172c09ff9a (patch)
treec098a44efa1b7ea336e50b856d20e7fc0ee0062b /roles/openshift_hosted/templates
parent8d9c90f827b0042465cf96ea10eb170a6bae3107 (diff)
downloadopenshift-35919e11333886b3190ae782034944172c09ff9a.tar.gz
openshift-35919e11333886b3190ae782034944172c09ff9a.tar.bz2
openshift-35919e11333886b3190ae782034944172c09ff9a.tar.xz
openshift-35919e11333886b3190ae782034944172c09ff9a.zip
Adding a check for variable definition.
Diffstat (limited to 'roles/openshift_hosted/templates')
-rw-r--r--roles/openshift_hosted/templates/registry_config.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/openshift_hosted/templates/registry_config.j2 b/roles/openshift_hosted/templates/registry_config.j2
index 9673841bf..fc9272679 100644
--- a/roles/openshift_hosted/templates/registry_config.j2
+++ b/roles/openshift_hosted/templates/registry_config.j2
@@ -22,7 +22,7 @@ storage:
{% endif %}
bucket: {{ openshift_hosted_registry_storage_s3_bucket }}
encrypt: {{ openshift_hosted_registry_storage_s3_encrypt | default(false) }}
-{% if openshift_hosted_registry_storage_s3_kmskeyid %}
+{% if openshift_hosted_registry_storage_s3_kmskeyid is defined %}
keyid: {{ openshift_hosted_registry_storage_s3_kmskeyid }}
{% endif %}
secure: true