diff --git a/charts/velero/Chart.yaml b/charts/velero/Chart.yaml index d4ed7f7e..0c102e45 100644 --- a/charts/velero/Chart.yaml +++ b/charts/velero/Chart.yaml @@ -3,7 +3,7 @@ appVersion: 1.12.1 kubeVersion: ">=1.16.0-0" description: A Helm chart for velero name: velero -version: 5.1.1 +version: 5.1.2 home: https://github.com/vmware-tanzu/velero icon: https://cdn-images-1.medium.com/max/1600/1*-9mb3AKnKdcL_QD3CMnthQ.png sources: diff --git a/charts/velero/templates/secret.yaml b/charts/velero/templates/secret.yaml index bb4b109b..4dbaf884 100644 --- a/charts/velero/templates/secret.yaml +++ b/charts/velero/templates/secret.yaml @@ -4,6 +4,10 @@ kind: Secret metadata: name: {{ include "velero.secretName" . }} namespace: {{ .Release.Namespace }} + {{- with .Values.secretAnnotations }} + annotations: + {{- toYaml . | nindent 4 }} + {{- end }} labels: app.kubernetes.io/name: {{ include "velero.name" . }} app.kubernetes.io/instance: {{ .Release.Name }} diff --git a/charts/velero/values.yaml b/charts/velero/values.yaml index 2c5abbc2..550f0274 100644 --- a/charts/velero/values.yaml +++ b/charts/velero/values.yaml @@ -51,6 +51,9 @@ fullnameOverride: "" annotations: {} # secret.reloader.stakater.com/reload: "" +# Annotations to add to secret +secretAnnotations: {} + # Labels to add to the Velero deployment's. Optional. labels: {}