Skip to content

Commit

Permalink
feat: add support for deployment labels (#27)
Browse files Browse the repository at this point in the history
Co-authored-by: Azat Safin <[email protected]>
  • Loading branch information
dadangnh and azatsafin authored Oct 9, 2024
1 parent 558b944 commit 212a3c1
Show file tree
Hide file tree
Showing 4 changed files with 8 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.6
version: 1.4.7
appVersion: v1.0.0
icon: https://raw.githubusercontent.com/kafbat/kafka-ui/main/documentation/images/logo_new.png
1 change: 1 addition & 0 deletions charts/kafka-ui/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
| `podAnnotations` | Annotations for Kafka-UI pods | `{}` |
| `podLabels` | Extra labels for Kafka-UI pods | `{}` |
| `annotations` | Annotations to be added to kafka-ui Deployment | `{}` |
| `labels` | Labels to be added to kafka-ui Deployment | `{}` |
| `probes.useHttpsScheme` | Set field schema as HTTPS for readines and liveness probe | `false` |

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

## @param labels [object] Labels to be added to kafka-ui Deployment
labels: {}

## @param probes.useHttpsScheme Set field schema as HTTPS for readines and liveness probe
##
probes:
Expand Down

0 comments on commit 212a3c1

Please sign in to comment.