From d964bf5c3502f54e083a5d2f5f31fb3e67fb2812 Mon Sep 17 00:00:00 2001 From: Peter Philipp Date: Fri, 27 Sep 2019 08:32:36 +1200 Subject: [PATCH] Possible fix for: https://github.com/goharbor/harbor/issues/9174 Signed-off-by: Peter Philipp --- tools/migration/cfg/migrator_1_9_0/harbor.yml.jinja | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/migration/cfg/migrator_1_9_0/harbor.yml.jinja b/tools/migration/cfg/migrator_1_9_0/harbor.yml.jinja index 9700333eb..9a9cf0f29 100644 --- a/tools/migration/cfg/migrator_1_9_0/harbor.yml.jinja +++ b/tools/migration/cfg/migrator_1_9_0/harbor.yml.jinja @@ -117,9 +117,11 @@ notification: # Maximum retry count for webhook job webhook_job_max_retry: 10 +{% if chart is defined %} chart: # Change the value of absolute_url to enabled can enable absolute url in chart absolute_url: {{ chart.absolute_url if chart.absolute_url == 'enabled' else 'disabled' }} +{% endif %} # Log configurations log: @@ -265,4 +267,4 @@ proxy: - core - jobservice - clair -{% endif %} \ No newline at end of file +{% endif %}