helm-kubernetes-services
helm-kubernetes-services copied to clipboard
Use 'ingressClassName' instead deprecated annotation "kubernetes.io/ingress.class"
Describe the solution you'd like I've noticed the warning during a chart deployment:
W0612 15:00:09.676081 1973 warnings.go:70] annotation "kubernetes.io/ingress.class" is deprecated, please use 'spec.ingressClassName' instead
The kubernetes.io/ingress.class
annotation is deprecated since Kubernetes v1.18 , also a deprecation notes in AWS load balancer.
So we might add the spec.ingressClassName
field to the Ingress template.