From 9f687f6d3f710630941ac3279c4a8717e5af057a Mon Sep 17 00:00:00 2001 From: kostik2022 Date: Fri, 28 Jun 2024 00:00:25 +0400 Subject: [PATCH] feat(helm): add annotations to configmaps (#1826) --- helm/akhq/templates/configmap.yaml | 4 ++++ helm/akhq/values.yaml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/helm/akhq/templates/configmap.yaml b/helm/akhq/templates/configmap.yaml index 6b8a4f33b..9f249e671 100644 --- a/helm/akhq/templates/configmap.yaml +++ b/helm/akhq/templates/configmap.yaml @@ -3,6 +3,10 @@ apiVersion: v1 kind: ConfigMap metadata: name: {{ template "akhq.fullname" . }} + {{- with .Values.configmapAnnotations }} + annotations: + {{- toYaml . | nindent 4 }} + {{- end }} labels: app.kubernetes.io/name: {{ include "akhq.name" . }} helm.sh/chart: {{ include "akhq.chart" . }} diff --git a/helm/akhq/values.yaml b/helm/akhq/values.yaml index 090a7c177..c95bd5edd 100644 --- a/helm/akhq/values.yaml +++ b/helm/akhq/values.yaml @@ -13,6 +13,10 @@ annotations: {} podAnnotations: {} +configmapAnnotations: {} + # vault.security.banzaicloud.io/vault-role: akhq + # vault.security.banzaicloud.io/vault-serviceaccount: akhq + # custom labels labels: {} # custom.label: 'true'