I’ve tried installing gitlab with the helm chart and specifying an external and already working ingress for other services, but it is ignoring the class of the ingress that I specify:
Nginx ingress specifies that the ingress should be compatible with the ingressClassName: nginx syntax from cluster version 1.19 onward, but I don’t see any way specifying it in the helm chart.
Error: Ingress.extensions "gitlab-registry" is invalid: annotations.kubernetes.io/ingress.class: Invalid value: "nginx": can not be set when the class field is also set
Yes, in recent versions of kubernetes you must specify the class “nginx” without using annotations. You cannot specify both at the same time, just erase the annotation specifying the class and just leave ingress.class=“nginx” alone.