From 8921b97c02c27330e9be8737cd17406c84fdc04f Mon Sep 17 00:00:00 2001 From: Roman Gorshunov Date: Wed, 9 Oct 2019 17:45:49 +0200 Subject: [PATCH] [WIP] Fix 'helm repo add' when running inside container localhost inside of the container gets resolved into 172.17.0.1, and helm is binded to 127.0.0.1. Change local helm repository url to use exactly 127.0.0.1. Change-Id: I53f4c0667fb471f8e2fcd02fba395f343c1a0f00 --- tools/helm_tk.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/helm_tk.sh b/tools/helm_tk.sh index 21ba4e4b..63d981a8 100755 --- a/tools/helm_tk.sh +++ b/tools/helm_tk.sh @@ -58,7 +58,7 @@ if ${HELM} repo list | grep -q "^stable" ; then ${HELM} repo remove stable fi -${HELM} repo add local http://localhost:8879/charts +${HELM} repo add local http://127.0.0.1:8879/charts #OSH Makefile is bugged, so ensure helm is in the path