Change dir to microk8s dirs

This commit is contained in:
Micke Nordin 2023-06-08 15:05:21 +02:00
parent 4de9d96855
commit 1eedad0831
Signed by untrusted user: Micke
GPG key ID: 0DA0A7A5708FE257

View file

@ -29,7 +29,7 @@ spec:
- name: ADDRESS - name: ADDRESS
value: /csi/csi.sock value: /csi/csi.sock
- name: DRIVER_REG_SOCK_PATH - name: DRIVER_REG_SOCK_PATH
value: /var/snap/microk8s/common/var/lib/kubelet/plugins/cinder.csi.openstack.org/csi.sock value: /var/lib/kubelet/plugins/cinder.csi.openstack.org/csi.sock
- name: KUBE_NODE_NAME - name: KUBE_NODE_NAME
valueFrom: valueFrom:
fieldRef: fieldRef:
@ -96,15 +96,15 @@ spec:
volumes: volumes:
- name: socket-dir - name: socket-dir
hostPath: hostPath:
path: /var/lib/kubelet/plugins/cinder.csi.openstack.org path: /var/snap/microk8s/common/var/lib/kubelet/plugins/cinder.csi.openstack.org
type: DirectoryOrCreate type: DirectoryOrCreate
- name: registration-dir - name: registration-dir
hostPath: hostPath:
path: /var/lib/kubelet/plugins_registry/ path: /var/snap/microk8s/common/var/lib/kubelet/plugins_registry/
type: Directory type: Directory
- name: kubelet-dir - name: kubelet-dir
hostPath: hostPath:
path: /var/lib/kubelet path: /var/snap/microk8s/common/var/lib/kubelet
type: Directory type: Directory
- name: pods-probe-dir - name: pods-probe-dir
hostPath: hostPath: