Skip to content

Commit

Permalink
Allow to configure labels for Ingress (#23)
Browse files Browse the repository at this point in the history
Co-authored-by: Vincent MIJOULE <[email protected]>
Co-authored-by: Azat Safin <[email protected]>
  • Loading branch information
3 people authored Sep 10, 2024
1 parent c61305f commit 0d60015
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
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: 1.4.2
version: 1.4.3
appVersion: v1.0.0
icon: https://raw.githubusercontent.com/kafbat/kafka-ui/main/documentation/images/logo_new.png
3 changes: 3 additions & 0 deletions charts/kafka-ui/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ metadata:
namespace: {{ .Release.Namespace }}
labels:
{{- include "kafka-ui.labels" . | nindent 4 }}
{{- with .Values.ingress.labels }}
{{- toYaml . | nindent 4 }}
{{- end }}
{{- with .Values.ingress.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
Expand Down
3 changes: 3 additions & 0 deletions charts/kafka-ui/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,9 @@ ingress:
# Annotations for the Ingress
annotations: {}

# Labels for the Ingress
labels: {}

# ingressClassName for the Ingress
ingressClassName: ""

Expand Down

0 comments on commit 0d60015

Please sign in to comment.