playbook/roles/k3s-addon/files/setup-ingress.sh: update
This commit is contained in:
parent
5d4b531baf
commit
5d122f640f
@ -2,7 +2,7 @@
|
||||
ingress=$1
|
||||
ingress_ip=$2
|
||||
|
||||
if [[ '$ingress' == 'nginx' ]]; then
|
||||
if [[ $ingress == "nginx" ]]; then
|
||||
cat > value.yaml <<EOF
|
||||
controller:
|
||||
nginxplus: false
|
||||
@ -57,7 +57,7 @@ helm upgrade --install nginx nginx-stable/nginx-ingress --version=0.15.0 --names
|
||||
kubectl apply -f nginx-cm.yaml
|
||||
kubectl patch svc nginx-nginx-ingress -n ingress --patch-file nginx-svc-patch.yaml
|
||||
|
||||
elif [[ '$ingress' == 'apisix' ]]; then
|
||||
elif [[ $ingress == "apisix" ]]; then
|
||||
|
||||
helm repo add apisix https://charts.apiseven.com || echo true
|
||||
helm repo update
|
||||
|
||||
Loading…
Reference in New Issue
Block a user