Browse Source

Update registry_config.j2

setting openshift_hosted_registry_storage_gcs_rootdirectory default value
Jianlin Liu 7 years ago
parent
commit
23bdad69dc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      roles/openshift_hosted/templates/registry_config.j2

+ 1 - 1
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: