From b0b87b21a194d473eb85479c62ec6a92827bb767 Mon Sep 17 00:00:00 2001 From: Bartek Grzybowski Date: Tue, 22 Dec 2020 10:36:47 +0100 Subject: Don't refresh repository cache upon init Main reason for adding this option is that stable repo url of https://kubernetes-charts.storage.googleapis.com has been obsoleted hence the "init" command fails on trying to reach it. Since we're removing it afterwards anyway thus --skip-refresh will allow "init" to pass without actually trying to get it's contents. Change-Id: I0719648fcfaf30da52ae19327f024b901471f188 Issue-ID: OOM-2660 Signed-off-by: Bartek Grzybowski --- build/creating_data/docker-images-collector.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/creating_data/docker-images-collector.sh b/build/creating_data/docker-images-collector.sh index d1233a83..e33d5003 100755 --- a/build/creating_data/docker-images-collector.sh +++ b/build/creating_data/docker-images-collector.sh @@ -160,7 +160,7 @@ HELM_HOME=$(mktemp -p /tmp -d .helm.XXXXXXXX) export HELM_HOME kill_helm # make sure it's not already running mkdir -p "${PROJECT_DIR}/../${HELM_REPO_PATH}" -helm init -c --local-repo-url "http://${HELM_REPO}" +helm init --skip-refresh -c --local-repo-url "http://${HELM_REPO}" helm serve --address ${HELM_REPO} --repo-path "${PROJECT_DIR}/../${HELM_REPO_PATH}" & helm repo remove stable 2>/dev/null || true check_helm -- cgit 1.2.3-korg