curl -L <https://raw.githubusercontent.com/kubernetes-csi/csi-driver-smb/master/deploy/csi-smb-node.yaml> | sed 's/\\/var\\/lib\\/kubelet/\\/var\\/snap\\/microk8s\\/common\\/var\\/lib\\/kubelet/g' | kubectl apply -f -

microk8s doesn’t have kubelet in the right directory so the config must be modified to account for this