Просмотр исходного кода

Update registry_config.j2

setting openshift_hosted_registry_storage_gcs_rootdirectory default value
Jianlin Liu 7 лет назад
Родитель
Сommit
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: