Преглед на файлове

Update registry_config.j2

setting openshift_hosted_registry_storage_gcs_rootdirectory default value
Jianlin Liu преди 7 години
родител
ревизия
23bdad69dc
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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: