mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-23 09:08:26 +01:00
fix storage.redirect.disable migrate template error (#19335)
Signed-off-by: yminer <yminer@vmware.com> update boolean to lowercase
This commit is contained in:
parent
d55823d888
commit
eb0724d130
@ -105,10 +105,10 @@ storage_service:
|
|||||||
{% elif key == 'redirect' %}
|
{% elif key == 'redirect' %}
|
||||||
# # set disable to true when you want to disable registry redirect
|
# # set disable to true when you want to disable registry redirect
|
||||||
redirect:
|
redirect:
|
||||||
{% if value.disabled is not none %}
|
{% if storage_service.redirect.disabled is defined %}
|
||||||
disable: {{ value.disabled }}
|
disable: {{ storage_service.redirect.disabled | lower}}
|
||||||
{% else %}
|
{% else %}
|
||||||
disable: {{ value.disable }}
|
disable: {{ storage_service.redirect.disable | lower}}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% else %}
|
{% else %}
|
||||||
# # storage backend, default is filesystem, options include filesystem, azure, gcs, s3, swift and oss
|
# # storage backend, default is filesystem, options include filesystem, azure, gcs, s3, swift and oss
|
||||||
|
@ -113,10 +113,10 @@ storage_service:
|
|||||||
{% elif key == 'redirect' %}
|
{% elif key == 'redirect' %}
|
||||||
# # set disable to true when you want to disable registry redirect
|
# # set disable to true when you want to disable registry redirect
|
||||||
redirect:
|
redirect:
|
||||||
{% if value.disabled is not none %}
|
{% if storage_service.redirect.disabled is defined %}
|
||||||
disable: {{ value.disabled }}
|
disable: {{ storage_service.redirect.disabled | lower}}
|
||||||
{% else %}
|
{% else %}
|
||||||
disable: {{ value.disable }}
|
disable: {{ storage_service.redirect.disable | lower}}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% else %}
|
{% else %}
|
||||||
# # storage backend, default is filesystem, options include filesystem, azure, gcs, s3, swift and oss
|
# # storage backend, default is filesystem, options include filesystem, azure, gcs, s3, swift and oss
|
||||||
|
Loading…
Reference in New Issue
Block a user