#!/bin/bash #author: Thomas Roehm #version: 1.0 INGRESSVERSION="v1.12.1" echo "check also https://docs.nginx.com/nginx-ingress-controller/installation/installation-with-helm/" rm -rf kubernetes-ingress/ git clone https://github.com/nginxinc/kubernetes-ingress/ echo "" cd kubernetes-ingress/deployments/helm-chart git checkout ${INGRESSVERSION} git status helm repo add nginx-stable https://helm.nginx.com/stable helm repo update helm list echo "" sed -i 's/kind: deployment/kind: daemonset/' values.yaml echo "" grep "kind: daemonset" values.yaml echo "" sleep 2 helm install -f values.yaml nginx-ingress . helm list -A kubectl get pods -A -o wide