Skip to content

Commit

Permalink
feat(helm): add annotations to configmaps (#1826)
Browse files Browse the repository at this point in the history
  • Loading branch information
kostik2022 authored Jun 27, 2024
1 parent 818f1da commit 9f687f6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions helm/akhq/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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" . }}
Expand Down
4 changes: 4 additions & 0 deletions helm/akhq/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 9f687f6

Please sign in to comment.