From 0eef7623a238d54db43342b3aeb1bfdb404f6c99 Mon Sep 17 00:00:00 2001 From: Robert Gogolok Date: Tue, 19 Nov 2019 12:08:18 +0100 Subject: [PATCH] Fix registry_storage_provider.redirect check Instead of checking for the string `"true"`, check whether the statement is `true`. --- jobs/harbor/templates/config/harbor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jobs/harbor/templates/config/harbor.yml b/jobs/harbor/templates/config/harbor.yml index 119784b..3a6f730 100644 --- a/jobs/harbor/templates/config/harbor.yml +++ b/jobs/harbor/templates/config/harbor.yml @@ -49,7 +49,7 @@ data_volume: /data # maxthreads: 100 storage_service: -<%- if p("registry_storage_provider.redirect") == "true" %> +<%- if p("registry_storage_provider.redirect") == true %> redirect: disabled: true <%- end %>