From 089eb4c44983ffd0bfbe137e4654842c808966f4 Mon Sep 17 00:00:00 2001 From: Wenkai Yin Date: Wed, 11 Sep 2019 10:45:55 +0800 Subject: [PATCH] Add the port 8080 to the default URL of portal to avoid the health check API failure We changed the listenning port of portal from 80 to 8080 to run the process as non-root user, but the change didn't update the default URL of portal in source code, this causes the health check API fail. Signed-off-by: Wenkai Yin --- src/common/const.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/const.go b/src/common/const.go index 850bb8a65..9da5d96e3 100755 --- a/src/common/const.go +++ b/src/common/const.go @@ -131,7 +131,7 @@ const ( WithChartMuseum = "with_chartmuseum" ChartRepoURL = "chart_repository_url" DefaultChartRepoURL = "http://chartmuseum:9999" - DefaultPortalURL = "http://portal" + DefaultPortalURL = "http://portal:8080" DefaultRegistryCtlURL = "http://registryctl:8080" DefaultClairHealthCheckServerURL = "http://clair:6061" // Use this prefix to distinguish harbor user, the prefix contains a special character($), so it cannot be registered as a harbor user.