Skip to content

Commit f169fdf

Browse files
urupaududararupasingheNarekmat
authored
fixed the issue throws when using the precedingPaths and updated to a… (#13)
* fixed the issue throws when using the precedingPaths and updated to accpet use-annotation as the port name * change chart version --------- Co-authored-by: Udara Rupasinghe <[email protected]> Co-authored-by: Narekmat <[email protected]>
1 parent d146d49 commit f169fdf

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

charts/kafka-ui/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ apiVersion: v2
22
name: kafka-ui
33
description: A Helm chart for kafka-UI
44
type: application
5-
version: 0.7.2
5+
version: 0.7.3
66
appVersion: v0.7.1
77
icon: https://github.com/provectus/kafka-ui/raw/master/documentation/images/kafka-ui-logo.png

charts/kafka-ui/templates/ingress.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,17 @@ spec:
3535
{{- if and ($.Capabilities.APIVersions.Has "networking.k8s.io/v1") $isHigher1p19 -}}
3636
{{- range .Values.ingress.precedingPaths }}
3737
- path: {{ .path }}
38-
pathType: {{ .Values.ingress.pathType }}
38+
pathType: {{ $.Values.ingress.pathType }}
3939
backend:
4040
service:
4141
name: {{ .serviceName }}
4242
port:
43+
{{- if .servicePort }}
4344
number: {{ .servicePort }}
45+
{{- end }}
46+
{{- if .servicePortName }}
47+
name: {{ .servicePortName }}
48+
{{- end }}
4449
{{- end }}
4550
- backend:
4651
service:

0 commit comments

Comments
 (0)