Skip to content

Commit

Permalink
feat: add extraArgs to Velero node agent configuration
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Campion <[email protected]>
  • Loading branch information
Simon Campion committed Jun 24, 2024
1 parent 8930c40 commit ab9d3b9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/velero/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ appVersion: 1.13.2
kubeVersion: ">=1.16.0-0"
description: A Helm chart for velero
name: velero
version: 6.7.0
version: 6.8.0
home: https://github.com/vmware-tanzu/velero
icon: https://cdn-images-1.medium.com/max/1600/1*-9mb3AKnKdcL_QD3CMnthQ.png
sources:
Expand Down
3 changes: 3 additions & 0 deletions charts/velero/templates/node-agent-daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,9 @@ spec:
- --log-format={{ . }}
{{- end }}
{{- end }}
{{- with .Values.nodeAgent.extraArgs }}
{{- toYaml . | nindent 12 }}
{{- end }}
volumeMounts:
{{- if .Values.credentials.useSecret }}
- name: cloud-credentials
Expand Down
4 changes: 4 additions & 0 deletions charts/velero/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -566,6 +566,10 @@ nodeAgent:
# Key/value pairs to be used as environment variables for the node-agent daemonset. Optional.
extraEnvVars: {}

# Additional command-line arguments that will be passed to the node-agent. Optional.
# e.g.: extraArgs: ["--foo=bar"]
extraArgs: []

# Configure the dnsPolicy of the node-agent daemonset
# See: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-s-dns-policy
dnsPolicy: ClusterFirst
Expand Down

0 comments on commit ab9d3b9

Please sign in to comment.