Skip to content

Commit 212a3c1

Browse files
dadangnhazatsafin
andauthored
feat: add support for deployment labels (#27)
Co-authored-by: Azat Safin <azat@leetcode.com>
1 parent 558b944 commit 212a3c1

File tree

4 files changed

+8
-1
lines changed

4 files changed

+8
-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: 1.4.6
5+
version: 1.4.7
66
appVersion: v1.0.0
77
icon: https://raw.githubusercontent.com/kafbat/kafka-ui/main/documentation/images/logo_new.png

charts/kafka-ui/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
| `podAnnotations` | Annotations for Kafka-UI pods | `{}` |
5151
| `podLabels` | Extra labels for Kafka-UI pods | `{}` |
5252
| `annotations` | Annotations to be added to kafka-ui Deployment | `{}` |
53+
| `labels` | Labels to be added to kafka-ui Deployment | `{}` |
5354
| `probes.useHttpsScheme` | Set field schema as HTTPS for readines and liveness probe | `false` |
5455

5556
### Security Context

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+
{{- if .Values.labels }}
9+
{{- toYaml .Values.labels | 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
@@ -158,6 +158,9 @@ podLabels: {}
158158
## @param annotations [object] Annotations to be added to kafka-ui Deployment
159159
annotations: {}
160160

161+
## @param labels [object] Labels to be added to kafka-ui Deployment
162+
labels: {}
163+
161164
## @param probes.useHttpsScheme Set field schema as HTTPS for readines and liveness probe
162165
##
163166
probes:

0 commit comments

Comments
 (0)