Skip to content

Commit 4e07750

Browse files
committed
[velero] Fix: support for block volumes in velero helm
Signed-off-by: sinhaashish <[email protected]>
1 parent 2cf0408 commit 4e07750

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.15.2
33
kubeVersion: ">=1.16.0-0"
44
description: A Helm chart for velero
55
name: velero
6-
version: 8.4.0
6+
version: 8.5.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

+6
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,9 @@ spec:
7272
- name: host-pods
7373
hostPath:
7474
path: {{ .Values.nodeAgent.podVolumePath }}
75+
- name: host-plugins
76+
hostPath:
77+
path: {{ .Values.nodeAgent.pluginVolumePath }}
7578
{{- if .Values.nodeAgent.useScratchEmptyDir }}
7679
- name: scratch
7780
emptyDir: {}
@@ -120,6 +123,9 @@ spec:
120123
- name: host-pods
121124
mountPath: /host_pods
122125
mountPropagation: HostToContainer
126+
- name: host-plugins
127+
mountPath: /var/lib/kubelet/plugins
128+
mountPropagation: HostToContainer
123129
{{- if .Values.nodeAgent.useScratchEmptyDir }}
124130
- name: scratch
125131
mountPath: /scratch

charts/velero/values.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -536,6 +536,7 @@ deployNodeAgent: false
536536

537537
nodeAgent:
538538
podVolumePath: /var/lib/kubelet/pods
539+
pluginVolumePath: /var/lib/kubelet/plugins
539540
# Pod priority class name to use for the node-agent daemonset. Optional.
540541
priorityClassName: ""
541542
# Resource requests/limits to specify for the node-agent daemonset deployment. Optional.

0 commit comments

Comments
 (0)