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:
parent
a1cf7a95ed
commit
ff7676e58e
|
@ -32,7 +32,7 @@ function helm_serve {
|
||||||
if [[ -d "$HOME/.helm" ]]; then
|
if [[ -d "$HOME/.helm" ]]; then
|
||||||
echo ".helm directory found"
|
echo ".helm directory found"
|
||||||
else
|
else
|
||||||
${HELM} init --client-only
|
${HELM} init --client-only --skip-refresh
|
||||||
fi
|
fi
|
||||||
if [[ -z $(curl -s 127.0.0.1:8879 | grep 'Helm Repository') ]]; then
|
if [[ -z $(curl -s 127.0.0.1:8879 | grep 'Helm Repository') ]]; then
|
||||||
${HELM} serve & > /dev/null
|
${HELM} serve & > /dev/null
|
||||||
|
|
Loading…
Reference in New Issue