Skip to content

Commit 114cd1d

Browse files
authored
Merge pull request #574 from higashik/add-paused-flag
[velero] Add paused flag for the schedule resource
2 parents 14a4b18 + 3526dda commit 114cd1d

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

charts/velero/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ appVersion: 1.13.2
33
kubeVersion: ">=1.16.0-0"
44
description: A Helm chart for velero
55
name: velero
6-
version: 6.3.0
6+
version: 6.4.0
77
home: https://github.com/vmware-tanzu/velero
88
icon: https://cdn-images-1.medium.com/max/1600/1*-9mb3AKnKdcL_QD3CMnthQ.png
99
sources:

charts/velero/templates/schedule.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ metadata:
1818
{{- toYaml $schedule.labels | nindent 4 }}
1919
{{- end }}
2020
spec:
21+
{{- if $schedule.paused }}
22+
paused: {{ $schedule.paused }}
23+
{{- end }}
2124
{{- if $schedule.useOwnerReferencesInBackup }}
2225
useOwnerReferencesInBackup: {{ $schedule.useOwnerReferencesInBackup }}
2326
{{- end }}

charts/velero/values.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -596,6 +596,7 @@ nodeAgent:
596596
# myenv: foo
597597
# schedule: "0 0 * * *"
598598
# useOwnerReferencesInBackup: false
599+
# paused: false
599600
# template:
600601
# ttl: "240h"
601602
# storageLocation: default

0 commit comments

Comments
 (0)