Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add support for deployment labels #27

Merged
merged 4 commits into from
Oct 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading