From ff7676e58eeb56c32351871db21f6b34af8a5228 Mon Sep 17 00:00:00 2001 From: Phil Sphicas Date: Thu, 7 Jan 2021 19:59:13 +0000 Subject: [PATCH] Ignore upstream chart repos when installing Helm The upstream Helm chart repos have moved permanently, causing a failure when running "make helm-serve": 'Error: error initializing: Looks like "https://kubernetes-charts.storage.googleapis.com" is not a valid chart repository or cannot be reached'. This change skips the chart refresh, since the upstream charts are not used anyway. Change-Id: Ic146e09dca6a7d72607a794984376d0fa9bc5475 --- 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 d3c739e..e1d2bbb 100755 --- a/tools/helm_tk.sh +++ b/tools/helm_tk.sh @@ -32,7 +32,7 @@ function helm_serve { if [[ -d "$HOME/.helm" ]]; then echo ".helm directory found" else - ${HELM} init --client-only + ${HELM} init --client-only --skip-refresh fi if [[ -z $(curl -s 127.0.0.1:8879 | grep 'Helm Repository') ]]; then ${HELM} serve & > /dev/null