Skip to content

Commit 86dad04

Browse files
authored
fix missing pathType in ingress.yaml for kube cluster version 1.22+ (#1450)
* fix missing pathType in ingress.yaml kube cluster version 1.22+ * correct placing of pathType in ingress.yaml
1 parent 9446d9c commit 86dad04

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

charts/kafka-ui/templates/ingress.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ spec:
3333
{{- if semverCompare ">=1.22-0" .Capabilities.KubeVersion.GitVersion -}}
3434
{{- range .Values.ingress.precedingPaths }}
3535
- path: {{ .path }}
36-
pathType: ImplementationSpecific
36+
pathType: Prefix
3737
backend:
3838
service:
3939
name: {{ .serviceName }}
@@ -45,12 +45,13 @@ spec:
4545
name: {{ $fullName }}
4646
port:
4747
number: {{ $svcPort }}
48+
pathType: Prefix
4849
{{- if .Values.ingress.path }}
4950
path: {{ .Values.ingress.path }}
5051
{{- end }}
5152
{{- range .Values.ingress.succeedingPaths }}
5253
- path: {{ .path }}
53-
pathType: ImplementationSpecific
54+
pathType: Prefix
5455
backend:
5556
service:
5657
name: {{ .serviceName }}

0 commit comments

Comments
 (0)