fix: invalid ingress annotation

With the new ingress controller will the ingress resource be verified
and returns an error like this one:

  Error: Ingress.extensions "drone" is invalid:
  annotations.kubernetes.io/ingress.class: Invalid value: "nginx": can
  not be set when the class field is also set

For this reason the annotation kubernetes.io/ingress.class has been
removed.
This commit is contained in:
Markus Pesch 2021-08-04 08:31:23 +02:00
parent a1893cc995
commit fb51c29068
Signed by: volker.raschek
GPG Key ID: 852BCC170D81A982

View File

@ -479,10 +479,6 @@ ingress:
enabled: false
className: "nginx"
annotations:
# kubernetes.io/ingress.class is a deprecated annotation:
# https://kubernetes.io/docs/concepts/services-networking/ingress/#deprecated-annotation
kubernetes.io/ingress.class: nginx
kubernetes.io/tls-acme: "true"
# cert-manager.io/issuer: letsencrypt
hosts:
- host: "your-hostname"