Skip to content

Commit ab9d3b9

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

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.13.2
33
kubeVersion: ">=1.16.0-0"
44
description: A Helm chart for velero
55
name: velero
6-
version: 6.7.0
6+
version: 6.8.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
@@ -566,6 +566,10 @@ nodeAgent:
566566
# Key/value pairs to be used as environment variables for the node-agent daemonset. Optional.
567567
extraEnvVars: {}
568568

569+
# Additional command-line arguments that will be passed to the node-agent. Optional.
570+
# e.g.: extraArgs: ["--foo=bar"]
571+
extraArgs: []
572+
569573
# Configure the dnsPolicy of the node-agent daemonset
570574
# See: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-s-dns-policy
571575
dnsPolicy: ClusterFirst

0 commit comments

Comments
 (0)