Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.17.1
kubeVersion: ">=1.16.0-0"
description: A Helm chart for velero
name: velero
version: 11.2.0
version: 11.3.1
home: https://github.com/vmware-tanzu/velero
icon: https://cdn-images-1.medium.com/max/1600/1*-9mb3AKnKdcL_QD3CMnthQ.png
sources:
Expand Down
2 changes: 2 additions & 0 deletions charts/velero/templates/node-agent-daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,14 @@ spec:
secret:
secretName: {{ include "velero.secretName" . }}
{{- end }}
{{- if not (.Values.nodeAgent.disableHostPath) }}
- name: host-pods
hostPath:
path: {{ .Values.nodeAgent.podVolumePath }}
- name: host-plugins
hostPath:
path: {{ .Values.nodeAgent.pluginVolumePath | default "/var/lib/kubelet/plugins" }}
{{- end }}
{{- if .Values.nodeAgent.useScratchEmptyDir }}
- name: scratch
emptyDir: {}
Expand Down
2 changes: 2 additions & 0 deletions charts/velero/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -654,6 +654,8 @@ snapshotsEnabled: true
deployNodeAgent: false

nodeAgent:
# Disables Host Path volumes for node-agent.
disableHostPath: false
podVolumePath: /var/lib/kubelet/pods
pluginVolumePath: /var/lib/kubelet/plugins
# Pod priority class name to use for the node-agent daemonset. Optional.
Expand Down