Skip to content

Commit

Permalink
feat: add custom labels to deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
fulgas committed Mar 15, 2024
1 parent 6996eab commit 73501a3
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: 0.7.5
version: 0.8.0
appVersion: v0.7.1
icon: https://github.com/provectus/kafka-ui/raw/master/documentation/images/kafka-ui-logo.png
3 changes: 3 additions & 0 deletions charts/kafka-ui/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ metadata:
namespace: {{ .Release.Namespace }}
labels:
{{- include "kafka-ui.labels" . | nindent 4 }}
{{- with .Values.labels }}
{{- toYaml . | nindent 4 }}
{{- end }}
{{- with .Values.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 @@ -69,6 +69,9 @@ networkPolicy:
podAnnotations: {}
podLabels: {}

## Labels to be added to kafka-ui Deployment
##
labels: {}
## Annotations to be added to kafka-ui Deployment
##
annotations: {}
Expand Down

0 comments on commit 73501a3

Please sign in to comment.