diff --git a/kubernetes-apiserver/config.json.template b/kubernetes-apiserver/config.json.template index edbf9c8..e020b11 100644 --- a/kubernetes-apiserver/config.json.template +++ b/kubernetes-apiserver/config.json.template @@ -146,6 +146,16 @@ "rprivate" ] }, + { + "type": "bind", + "source": "/dev/disk", + "destination": "/dev/disk", + "options": [ + "rbind", + "ro", + "rprivate" + ] + }, { "destination": "/etc/resolv.conf", "type": "bind", diff --git a/kubernetes-controller-manager/config.json.template b/kubernetes-controller-manager/config.json.template index 5c7af9d..e3a9572 100644 --- a/kubernetes-controller-manager/config.json.template +++ b/kubernetes-controller-manager/config.json.template @@ -146,6 +146,16 @@ "rprivate" ] }, + { + "type": "bind", + "source": "/dev/disk", + "destination": "/dev/disk", + "options": [ + "rbind", + "ro", + "rprivate" + ] + }, { "destination": "/etc/resolv.conf", "type": "bind", diff --git a/kubernetes-kubelet/config.json.template b/kubernetes-kubelet/config.json.template index 69ddc44..8a8cb45 100644 --- a/kubernetes-kubelet/config.json.template +++ b/kubernetes-kubelet/config.json.template @@ -295,6 +295,16 @@ "rprivate" ] }, + { + "type": "bind", + "source": "/dev/disk", + "destination": "/dev/disk", + "options": [ + "rbind", + "ro", + "rprivate" + ] + }, { "type": "bind", "source": "/etc/localtime",