csi-driver-host-path.yaml
689 Bytes
releases:
- name: csi-driver-host-path
chart: charts/csi-driver-host-path
jsonPatches:
- target:
kind: StatefulSet
name: csi-hostpathplugin
version: v1
group: apps
patch:
- op: remove
path: /spec/template/spec/containers/0/volumeMounts/2
- op: replace
path: /spec/template/spec/containers/0/volumeMounts/1/mountPath
value: /var/lib/kubelet
- op: remove
path: /spec/template/spec/containers/0/volumeMounts/1/mountPropagation
- op: replace
path: /spec/template/spec/volumes/1/hostPath/path
value: /var/lib/kubelet