website
website copied to clipboard
Securing NGINX-ingress
All references in this document to
apiVersion: extensions/v1beta1
kind: Ingress
should be updated to
apiVersion: networking.k8s.io/v1
kind: Ingress
As Ingress is part of the networking API and is not anymore an extension (as of Kubernetes v1.19 [stable])
Seemingly, references to
annotations:
kubernetes.io/ingress.class: "nginx"
should be updated to, instead use ingress.spec.ingressClassName (see https://kubernetes.io/docs/concepts/services-networking/ingress-controllers/#using-multiple-ingress-controllers)