We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3759503 + 2875c40 commit 3f30079Copy full SHA for 3f30079
helm/oauth2-proxy/templates/ingress.yaml
@@ -5,7 +5,7 @@
5
{{- $ingressPathType := .Values.ingress.pathType -}}
6
{{- $extraPaths := .Values.ingress.extraPaths -}}
7
{{- $apiV1 := false -}}
8
-{{- if and (.Capabilities.APIVersions.Has "networking.k8s.io/v1") (semverCompare ">= v1.19.0" .Capabilities.KubeVersion.Version) -}}
+{{- if and (.Capabilities.APIVersions.Has "networking.k8s.io/v1") (semverCompare ">= v1.19.0-0" .Capabilities.KubeVersion.Version) -}}
9
apiVersion: networking.k8s.io/v1
10
{{- $apiV1 = true -}}
11
{{- else if .Capabilities.APIVersions.Has "networking.k8s.io/v1beta1" -}}
0 commit comments