Skip to content

Commit ed17a84

Browse files
committed
[velero] Fix: support for block volumes in velero helm
Signed-off-by: sinhaashish <[email protected]>
1 parent 36d80be commit ed17a84

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-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.5.0
6+
version: 8.6.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

+8
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,11 @@ spec:
7272
- name: host-pods
7373
hostPath:
7474
path: {{ .Values.nodeAgent.podVolumePath }}
75+
type: DirectoryOrCreate
76+
- name: host-plugins
77+
hostPath:
78+
path: {{ .Values.nodeAgent.pluginVolumePath }}
79+
type: DirectoryOrCreate
7580
{{- if .Values.nodeAgent.useScratchEmptyDir }}
7681
- name: scratch
7782
emptyDir: {}
@@ -120,6 +125,9 @@ spec:
120125
- name: host-pods
121126
mountPath: /host_pods
122127
mountPropagation: HostToContainer
128+
- name: host-plugins
129+
mountPath: /var/lib/kubelet/plugins
130+
mountPropagation: HostToContainer
123131
{{- if .Values.nodeAgent.useScratchEmptyDir }}
124132
- name: scratch
125133
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)