Skip to content

Commit 5e02307

Browse files
author
Simon Campion
committed
feat: add extraArgs to Velero node agent configuration
Signed-off-by: Simon Campion <[email protected]>
1 parent eb9848c commit 5e02307

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

charts/velero/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ appVersion: 1.14.0
33
kubeVersion: ">=1.16.0-0"
44
description: A Helm chart for velero
55
name: velero
6-
version: 7.0.0
6+
version: 7.1.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/node-agent-daemonset.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,9 @@ spec:
109109
- --log-format={{ . }}
110110
{{- end }}
111111
{{- end }}
112+
{{- with .Values.nodeAgent.extraArgs }}
113+
{{- toYaml . | nindent 12 }}
114+
{{- end }}
112115
volumeMounts:
113116
{{- if .Values.credentials.useSecret }}
114117
- name: cloud-credentials

charts/velero/values.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -560,6 +560,10 @@ nodeAgent:
560560
# Key/value pairs to be used as environment variables for the node-agent daemonset. Optional.
561561
extraEnvVars: {}
562562

563+
# Additional command-line arguments that will be passed to the node-agent. Optional.
564+
# e.g.: extraArgs: ["--foo=bar"]
565+
extraArgs: []
566+
563567
# Configure the dnsPolicy of the node-agent daemonset
564568
# See: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-s-dns-policy
565569
dnsPolicy: ClusterFirst

0 commit comments

Comments
 (0)