Skip to content

Commit 3f30079

Browse files
authored
Merge branch 'main' into feat/k8s-labelss
2 parents 3759503 + 2875c40 commit 3f30079

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

helm/oauth2-proxy/templates/ingress.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
{{- $ingressPathType := .Values.ingress.pathType -}}
66
{{- $extraPaths := .Values.ingress.extraPaths -}}
77
{{- $apiV1 := false -}}
8-
{{- if and (.Capabilities.APIVersions.Has "networking.k8s.io/v1") (semverCompare ">= v1.19.0" .Capabilities.KubeVersion.Version) -}}
8+
{{- if and (.Capabilities.APIVersions.Has "networking.k8s.io/v1") (semverCompare ">= v1.19.0-0" .Capabilities.KubeVersion.Version) -}}
99
apiVersion: networking.k8s.io/v1
1010
{{- $apiV1 = true -}}
1111
{{- else if .Capabilities.APIVersions.Has "networking.k8s.io/v1beta1" -}}

0 commit comments

Comments
 (0)