Fix FlexVolume path
This commit is contained in:
parent
5271f47984
commit
cda6baf3f2
@ -59,7 +59,7 @@ resource "null_resource" "control_planes" {
|
||||
},
|
||||
var.cni_plugin == "calico" ? {
|
||||
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"
|
||||
}
|
||||
|
2
init.tf
2
init.tf
@ -24,7 +24,7 @@ resource "null_resource" "first_control_plane" {
|
||||
},
|
||||
var.cni_plugin == "calico" ? {
|
||||
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"
|
||||
}
|
||||
|
@ -13,4 +13,4 @@ spec:
|
||||
- name: flexvol-driver-host
|
||||
hostPath:
|
||||
type: DirectoryOrCreate
|
||||
path: /var/lib/kubelet/volumeplugins/nodeagent~uds/uds
|
||||
path: /var/lib/kubelet/volumeplugins/nodeagent~uds
|
||||
|
Loading…
Reference in New Issue
Block a user