Skip to content

Commit

Permalink
fixed the issue throws when using the precedingPaths and updated to a…
Browse files Browse the repository at this point in the history
…ccpet use-annotation as the port name
  • Loading branch information
Udara Rupasinghe committed Jul 24, 2023
1 parent d146d49 commit 1461029
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion charts/kafka-ui/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,17 @@ spec:
{{- if and ($.Capabilities.APIVersions.Has "networking.k8s.io/v1") $isHigher1p19 -}}
{{- range .Values.ingress.precedingPaths }}
- path: {{ .path }}
pathType: {{ .Values.ingress.pathType }}
pathType: {{ $.Values.ingress.pathType }}
backend:
service:
name: {{ .serviceName }}
port:
{{- if .servicePort }}
number: {{ .servicePort }}
{{- end }}
{{- if .servicePortName }}
name: {{ .servicePortName }}
{{- end }}
{{- end }}
- backend:
service:
Expand Down

0 comments on commit 1461029

Please sign in to comment.