From e4e793b1d57579a5a71862ebd3ac9fcf822e85aa Mon Sep 17 00:00:00 2001 From: Simon Campion Date: Thu, 21 Nov 2024 11:37:05 +0100 Subject: [PATCH] [velero] feat: allow configuring updateStrategy of node-agent DaemonSet Signed-off-by: Simon Campion --- charts/velero/Chart.yaml | 2 +- charts/velero/templates/node-agent-daemonset.yaml | 4 ++++ charts/velero/values.yaml | 3 +++ 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/charts/velero/Chart.yaml b/charts/velero/Chart.yaml index 92c2b1a4..e0541a80 100644 --- a/charts/velero/Chart.yaml +++ b/charts/velero/Chart.yaml @@ -3,7 +3,7 @@ appVersion: 1.15.0 kubeVersion: ">=1.16.0-0" description: A Helm chart for velero name: velero -version: 8.0.0 +version: 8.1.0 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/node-agent-daemonset.yaml b/charts/velero/templates/node-agent-daemonset.yaml index 68fedf3f..5038afea 100644 --- a/charts/velero/templates/node-agent-daemonset.yaml +++ b/charts/velero/templates/node-agent-daemonset.yaml @@ -201,4 +201,8 @@ spec: dnsConfig: {{- toYaml . | nindent 8 }} {{- end }} + {{- with .Values.nodeAgent.updateStrategy }} + updateStrategy: + {{- toYaml . | nindent 4 }} + {{- end }} {{- end }} diff --git a/charts/velero/values.yaml b/charts/velero/values.yaml index cf3f0b54..8113831f 100644 --- a/charts/velero/values.yaml +++ b/charts/velero/values.yaml @@ -602,6 +602,9 @@ nodeAgent: # DNS configuration to use for the node-agent daemonset. Optional. dnsConfig: {} + # Update strategy to use for the node-agent daemonset. Optional. + updateStrategy: {} + # Backup schedules to create. # Eg: # schedules: