From 940689bf5ff3a7865a79c83d92655c507b780f50 Mon Sep 17 00:00:00 2001 From: HIGASHI Kazuhiko <2009124+higashik@users.noreply.github.com> Date: Tue, 14 May 2024 14:00:37 +0900 Subject: [PATCH 1/2] [velero] Add paused flag for the schedule resource Signed-off-by: HIGASHI Kazuhiko <2009124+higashik@users.noreply.github.com> --- charts/velero/Chart.yaml | 2 +- charts/velero/templates/schedule.yaml | 3 +++ charts/velero/values.yaml | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/charts/velero/Chart.yaml b/charts/velero/Chart.yaml index edf74c33..2719b74b 100644 --- a/charts/velero/Chart.yaml +++ b/charts/velero/Chart.yaml @@ -3,7 +3,7 @@ appVersion: 1.13.0 kubeVersion: ">=1.16.0-0" description: A Helm chart for velero name: velero -version: 6.0.0 +version: 6.0.1 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/schedule.yaml b/charts/velero/templates/schedule.yaml index 30736eec..4e9907fd 100644 --- a/charts/velero/templates/schedule.yaml +++ b/charts/velero/templates/schedule.yaml @@ -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 }} diff --git a/charts/velero/values.yaml b/charts/velero/values.yaml index fd1c5f8b..5396181a 100644 --- a/charts/velero/values.yaml +++ b/charts/velero/values.yaml @@ -591,6 +591,7 @@ nodeAgent: # myenv: foo # schedule: "0 0 * * *" # useOwnerReferencesInBackup: false +# paused: false # template: # ttl: "240h" # storageLocation: default From 3526dda426eb2915b6f96a68e83be6b4a592edde Mon Sep 17 00:00:00 2001 From: JenTing Hsiao Date: Thu, 16 May 2024 20:16:35 +0800 Subject: [PATCH 2/2] Bump chart version Signed-off-by: JenTing Hsiao --- charts/velero/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/velero/Chart.yaml b/charts/velero/Chart.yaml index 9a1d8688..ad15d498 100644 --- a/charts/velero/Chart.yaml +++ b/charts/velero/Chart.yaml @@ -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: