Skip to content

Commit 8c8aaef

Browse files
committed
feat: add custom labels to deployment
1 parent 4d66d99 commit 8c8aaef

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

charts/kafka-ui/Chart.yaml

+1-1
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.6
5+
version: 0.8.5
66
appVersion: v0.7.2
77
icon: https://github.com/provectus/kafka-ui/raw/master/documentation/images/kafka-ui-logo.png

charts/kafka-ui/templates/deployment.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ metadata:
55
namespace: {{ .Release.Namespace }}
66
labels:
77
{{- include "kafka-ui.labels" . | nindent 4 }}
8+
{{- with .Values.labels }}
9+
{{- toYaml . | nindent 4 }}
10+
{{- end }}
811
{{- with .Values.annotations }}
912
annotations:
1013
{{- toYaml . | nindent 4 }}

charts/kafka-ui/values.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,9 @@ networkPolicy:
6969
podAnnotations: {}
7070
podLabels: {}
7171

72+
## Labels to be added to kafka-ui Deployment
73+
##
74+
labels: {}
7275
## Annotations to be added to kafka-ui Deployment
7376
##
7477
annotations: {}

0 commit comments

Comments
 (0)