Ver código fonte

Update registry_config.j2

setting openshift_hosted_registry_storage_gcs_rootdirectory default value
Jianlin Liu 7 anos atrás
pai
commit
23bdad69dc

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