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
This commit is contained in:
Phil Sphicas 2021-01-07 19:59:13 +00:00
parent a1cf7a95ed
commit ff7676e58e
1 changed files with 1 additions and 1 deletions

View File

@ -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