Use helm template instead of update to install dev cluster (#5149)

This commit is contained in:
Manuel Alejandro de Brito Fontes 2020-02-21 15:15:15 -03:00 committed by GitHub
parent 0d02ec2551
commit ca01d01457
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -102,7 +102,7 @@ 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 -
cat << EOF | helm template nginx-ingress stable/nginx-ingress --namespace=ingress-nginx --values - | kubectl apply -n ingress-nginx -f -
controller:
image:
repository: ${REGISTRY}/nginx-ingress-controller