Fix FlexVolume path

This commit is contained in:
Philipp 2022-04-10 19:35:02 +02:00
parent 5271f47984
commit cda6baf3f2
No known key found for this signature in database
GPG Key ID: 24A7501396EB5432
3 changed files with 3 additions and 3 deletions

View File

@ -59,7 +59,7 @@ resource "null_resource" "control_planes" {
}, },
var.cni_plugin == "calico" ? { var.cni_plugin == "calico" ? {
flannel-backend = "none" flannel-backend = "none"
kube-controller-manager-arg = "flex-volume-plugin-dir=/var/lib/kubelet/volumeplugins/nodeagent~uds" kube-controller-manager-arg = "flex-volume-plugin-dir=/var/lib/kubelet/volumeplugins"
} : {})) } : {}))
destination = "/tmp/config.yaml" destination = "/tmp/config.yaml"
} }

View File

@ -24,7 +24,7 @@ resource "null_resource" "first_control_plane" {
}, },
var.cni_plugin == "calico" ? { var.cni_plugin == "calico" ? {
flannel-backend = "none" flannel-backend = "none"
kube-controller-manager-arg = "flex-volume-plugin-dir=/var/lib/kubelet/volumeplugins/nodeagent~uds" kube-controller-manager-arg = "flex-volume-plugin-dir=/var/lib/kubelet/volumeplugins"
} : {})) } : {}))
destination = "/tmp/config.yaml" destination = "/tmp/config.yaml"
} }

View File

@ -13,4 +13,4 @@ spec:
- name: flexvol-driver-host - name: flexvol-driver-host
hostPath: hostPath:
type: DirectoryOrCreate type: DirectoryOrCreate
path: /var/lib/kubelet/volumeplugins/nodeagent~uds/uds path: /var/lib/kubelet/volumeplugins/nodeagent~uds