diff --git a/tools/migration/cfg/migrator_1_10_0/harbor.yml.jinja b/tools/migration/cfg/migrator_1_10_0/harbor.yml.jinja index 5ce55dc83..c9386104e 100644 --- a/tools/migration/cfg/migrator_1_10_0/harbor.yml.jinja +++ b/tools/migration/cfg/migrator_1_10_0/harbor.yml.jinja @@ -5,10 +5,14 @@ hostname: {{ hostname }} # http related config -{% if http %} +{% if http is defined %} http: # port for http, default is 80. If https enabled, this port will redirect to https port port: {{ http.port }} +{% else %} +# http: +# # port for http, default is 80. If https enabled, this port will redirect to https port +# port: 80 {% endif %} {% if https is defined %}