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
#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]>
  • Loading branch information
3 people authored Aug 17, 2023
1 parent d146d49 commit f169fdf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/kafka-ui/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ apiVersion: v2
name: kafka-ui
description: A Helm chart for kafka-UI
type: application
version: 0.7.2
version: 0.7.3
appVersion: v0.7.1
icon: https://github.com/provectus/kafka-ui/raw/master/documentation/images/kafka-ui-logo.png
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 f169fdf

Please sign in to comment.