Skip to content

Commit

Permalink
Merge pull request #511 from al-cheb/add-secret-annotations
Browse files Browse the repository at this point in the history
[velero] Add secret annotations
  • Loading branch information
qiuming-best committed Oct 27, 2023
2 parents cd7a211 + c234691 commit 324769c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/velero/Chart.yaml
Expand Up @@ -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:
Expand Down
4 changes: 4 additions & 0 deletions charts/velero/templates/secret.yaml
Expand Up @@ -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 }}
Expand Down
3 changes: 3 additions & 0 deletions charts/velero/values.yaml
Expand Up @@ -51,6 +51,9 @@ fullnameOverride: ""
annotations: {}
# secret.reloader.stakater.com/reload: "<VELERO_SECRET_NAME>"

# Annotations to add to secret
secretAnnotations: {}

# Labels to add to the Velero deployment's. Optional.
labels: {}

Expand Down

0 comments on commit 324769c

Please sign in to comment.