Skip to content

Commit

Permalink
Merge pull request #574 from higashik/add-paused-flag
Browse files Browse the repository at this point in the history
[velero] Add paused flag for the schedule resource
  • Loading branch information
qiuming-best authored May 17, 2024
2 parents 14a4b18 + 3526dda commit 114cd1d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/velero/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ appVersion: 1.13.2
kubeVersion: ">=1.16.0-0"
description: A Helm chart for velero
name: velero
version: 6.3.0
version: 6.4.0
home: https://github.com/vmware-tanzu/velero
icon: https://cdn-images-1.medium.com/max/1600/1*-9mb3AKnKdcL_QD3CMnthQ.png
sources:
Expand Down
3 changes: 3 additions & 0 deletions charts/velero/templates/schedule.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ metadata:
{{- toYaml $schedule.labels | nindent 4 }}
{{- end }}
spec:
{{- if $schedule.paused }}
paused: {{ $schedule.paused }}
{{- end }}
{{- if $schedule.useOwnerReferencesInBackup }}
useOwnerReferencesInBackup: {{ $schedule.useOwnerReferencesInBackup }}
{{- end }}
Expand Down
1 change: 1 addition & 0 deletions charts/velero/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -596,6 +596,7 @@ nodeAgent:
# myenv: foo
# schedule: "0 0 * * *"
# useOwnerReferencesInBackup: false
# paused: false
# template:
# ttl: "240h"
# storageLocation: default
Expand Down

0 comments on commit 114cd1d

Please sign in to comment.