summaryrefslogtreecommitdiffstats
path: root/roles/openshift_hosted/templates
diff options
context:
space:
mode:
authorJianlin Liu <jialiu@redhat.com>2017-09-12 15:58:10 +0800
committerGitHub <noreply@github.com>2017-09-12 15:58:10 +0800
commit23bdad69dc2229888f2cb91c60821b63430bcb18 (patch)
treeb5fb2ed5a7be2629462312ce9fee5321ffe046d2 /roles/openshift_hosted/templates
parentf5d301b89037f4763ef220146df3d002b6370cd6 (diff)
downloadopenshift-23bdad69dc2229888f2cb91c60821b63430bcb18.tar.gz
openshift-23bdad69dc2229888f2cb91c60821b63430bcb18.tar.bz2
openshift-23bdad69dc2229888f2cb91c60821b63430bcb18.tar.xz
openshift-23bdad69dc2229888f2cb91c60821b63430bcb18.zip
Update registry_config.j2
setting openshift_hosted_registry_storage_gcs_rootdirectory default value
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 0c3c492a7..547721020 100644
--- a/roles/openshift_hosted/templates/registry_config.j2
+++ b/roles/openshift_hosted/templates/registry_config.j2
@@ -63,7 +63,7 @@ storage:
keyfile: /etc/registry/gcs.json
{% endif -%}
{% if openshift_hosted_registry_storage_gcs_rootdirectory is defined %}
- rootdirectory: {{ openshift_hosted_registry_storage_gcs_rootdirectory }}
+ rootdirectory: {{ openshift_hosted_registry_storage_gcs_rootdirectory | default('/registry') }}
{% endif -%}
{% endif -%}
auth: