helm: add annotations secret manifest

To use mutating webhook to modify secrets.
For example banzaicloud vault webhook:
https://bank-vaults.dev/docs/mutating-webhook/annotations/

Signed-off-by: Ruslan Khizhnyak <mustdiechik@gmail.com>
This commit is contained in:
Ruslan Khizhnyak
2023-11-08 12:47:42 +03:00
committed by mergify[bot]
parent d0fea3baed
commit 802f22f0ae
4 changed files with 8 additions and 0 deletions

View File

@ -4,6 +4,9 @@ kind: Secret
metadata:
name: {{ .Values.secret.name }}
namespace: {{ .Release.Namespace }}
{{- with .Values.secret.annotations }}
annotations: {{- . | toYaml | nindent 4 }}
{{- end }}
labels:
app: {{ include "ceph-csi-rbd.name" . }}
chart: {{ include "ceph-csi-rbd.chart" . }}