diff --git a/kiali-server/templates/ingress.yaml b/kiali-server/templates/ingress.yaml index 911b63c..be3bff8 100644 --- a/kiali-server/templates/ingress.yaml +++ b/kiali-server/templates/ingress.yaml @@ -2,7 +2,7 @@ {{- if not (eq "true" (include "kiali-server.isOpenShift" .)) }} {{- if eq "true" (include "kiali-server.deployment.ingress.enabled" .) }} --- -{{- if .Capabilities.APIVersions.Has "networking.k8s.io/v1/Ingress" }} +{{- if .Capabilities.APIVersions.Has "networking.k8s.io/v1" }} apiVersion: networking.k8s.io/v1 {{- else }} apiVersion: networking.k8s.io/v1beta1 @@ -61,4 +61,4 @@ spec: ... {{- end }} {{- end }} -{{- end }} \ No newline at end of file +{{- end }}