compliantkubernetes icon indicating copy to clipboard operation
compliantkubernetes copied to clipboard

Update demo app Chart to use `ingressClass`

Open cristiklein opened this issue 3 years ago • 1 comments

See related discussion.

cristiklein avatar Feb 09 '22 14:02 cristiklein

Let's wait with this a bit, until we roll out the latest apps to everyone. ingressClassName and the annotation kubernetes.io/ingress.class, cannot be used at the same time.

Error: UPGRADE FAILED: failed to create resource: Ingress.extensions "myapp-ck8s-user-demo" is invalid: annotations.kubernetes.io/ingress.class: Invalid value: "nginx": can not be set when the class field is also set

Hence, switching from ingressClassName to kubernetes.io/ingress.class now might break in a few environments.

cristiklein avatar Feb 11 '22 07:02 cristiklein