Ensure helm repository and charts are available (#5123)

This commit is contained in:
Manuel Alejandro de Brito Fontes 2020-02-19 14:10:28 -03:00 committed by GitHub
parent 5f2f0e5db3
commit 5c9a5eee17
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 1 deletions

View file

@ -89,6 +89,9 @@ kind load docker-image --name="${KIND_CLUSTER_NAME}" "${DEV_IMAGE}"
echo "[dev-env] deploying NGINX Ingress controller..."
kubectl create namespace ingress-nginx &> /dev/null || true
helm repo add stable https://kubernetes-charts.storage.googleapis.com &> /dev/null || true
helm repo update &> /dev/null || true
cat << EOF | helm upgrade --install nginx-ingress stable/nginx-ingress --namespace=ingress-nginx --values -
controller:
image: