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.
1 parent 9d856f3 commit 48359f4Copy full SHA for 48359f4
templates/ingress.yaml
@@ -1,6 +1,6 @@
1
{{- if .Values.ingress.enabled }}
2
---
3
-{{- if ge .Capabilities.KubeVersion.Minor 22 }}
+{{- if gt .Capabilities.KubeVersion.Minor 21 }}
4
apiVersion: networking.k8s.io/v1
5
{{- else }}
6
apiVersion: networking.k8s.io/v1beta1
@@ -30,7 +30,7 @@ spec:
30
paths:
31
{{- range .paths }}
32
- path: {{ default "/*" .path }}
33
- {{- if ge .Capabilities.KubeVersion.Minor 22 }}
+ {{- if gt .Capabilities.KubeVersion.Minor 21 }}
34
pathType: Prefix
35
backend:
36
service:
@@ -50,7 +50,7 @@ spec:
50
http:
51
52
- path: "/"
53
54
55
56
0 commit comments