diff options
author | Kenny Woodson <kwoodson@redhat.com> | 2017-07-18 10:28:58 -0400 |
---|---|---|
committer | Kenny Woodson <kwoodson@redhat.com> | 2017-07-18 10:28:58 -0400 |
commit | 35919e11333886b3190ae782034944172c09ff9a (patch) | |
tree | c098a44efa1b7ea336e50b856d20e7fc0ee0062b /roles | |
parent | 8d9c90f827b0042465cf96ea10eb170a6bae3107 (diff) | |
download | openshift-35919e11333886b3190ae782034944172c09ff9a.tar.gz openshift-35919e11333886b3190ae782034944172c09ff9a.tar.bz2 openshift-35919e11333886b3190ae782034944172c09ff9a.tar.xz openshift-35919e11333886b3190ae782034944172c09ff9a.zip |
Adding a check for variable definition.
Diffstat (limited to 'roles')
-rw-r--r-- | roles/openshift_hosted/templates/registry_config.j2 | 2 |
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 |