[Helm] Added annotations for the deployment (#2749)

Signed-off-by: Sherif Ayad <sherif.k.ayad@gmail.com>

Signed-off-by: Sherif Ayad <sherif.k.ayad@gmail.com>
Co-authored-by: Roman Zabaluev <rzabaluev@provectus.com>
This commit is contained in:
Sherif Ayad 2022-11-03 18:16:04 +01:00 committed by GitHub
parent 5d80b38371
commit c4bbbbe3da
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 1 deletions

View file

@ -2,6 +2,6 @@ apiVersion: v2
name: kafka-ui name: kafka-ui
description: A Helm chart for kafka-UI description: A Helm chart for kafka-UI
type: application type: application
version: 0.4.5 version: 0.4.6
appVersion: v0.4.0 appVersion: v0.4.0
icon: https://github.com/provectus/kafka-ui/raw/master/documentation/images/kafka-ui-logo.png icon: https://github.com/provectus/kafka-ui/raw/master/documentation/images/kafka-ui-logo.png

View file

@ -4,6 +4,10 @@ metadata:
name: {{ include "kafka-ui.fullname" . }} name: {{ include "kafka-ui.fullname" . }}
labels: labels:
{{- include "kafka-ui.labels" . | nindent 4 }} {{- include "kafka-ui.labels" . | nindent 4 }}
{{- with .Values.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
spec: spec:
{{- if not .Values.autoscaling.enabled }} {{- if not .Values.autoscaling.enabled }}
replicas: {{ .Values.replicaCount }} replicas: {{ .Values.replicaCount }}

View file

@ -69,6 +69,10 @@ networkPolicy:
podAnnotations: {} podAnnotations: {}
podLabels: {} podLabels: {}
## Annotations to be added to kafka-ui Deployment
##
annotations: {}
podSecurityContext: podSecurityContext:
{} {}
# fsGroup: 2000 # fsGroup: 2000