From 591566cbb61a64deaf4b3d32712cc2d446dcb9a0 Mon Sep 17 00:00:00 2001 From: David Hoese <david.hoese@ssec.wisc.edu> Date: Mon, 13 Jul 2020 14:14:40 -0500 Subject: [PATCH] Try helm init before using helm --- helpers/helm_base.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/helpers/helm_base.yaml b/helpers/helm_base.yaml index d51fbb5..f9ff0ab 100644 --- a/helpers/helm_base.yaml +++ b/helpers/helm_base.yaml @@ -8,3 +8,4 @@ - alias helm='docker run -t --rm -e HELM_EXPERIMENTAL_OCI="$HELM_EXPERIMENTAL_OCI" -v $(pwd):/apps -w /apps -v ~/.kube:/root/.kube -v ~/.helm:/root/.helm -v ~/.config/helm:/root/.config/helm -v ~/.cache/helm:/root/.cache/helm alpine/helm:3.2.3' - helm registry login -u ${CI_REGISTRY_USER} -p ${CI_JOB_TOKEN} ${CI_REGISTRY} - alias kubectl='docker run -a stdout --rm -v $(pwd):/apps -w /apps alpine/k8s:1.18.2 kubectl' + - helm init -- GitLab