From bf70c0af4e8ba6a5ccdc5d89fa9b4579d1c6dc9d Mon Sep 17 00:00:00 2001 From: Michelle Au Date: Wed, 11 Apr 2018 10:28:06 -0700 Subject: [PATCH] Set slave mount propagation for local provisioner --- test/e2e/storage/persistent_volumes-local.go | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/test/e2e/storage/persistent_volumes-local.go b/test/e2e/storage/persistent_volumes-local.go index e2489f6983..934708b7de 100644 --- a/test/e2e/storage/persistent_volumes-local.go +++ b/test/e2e/storage/persistent_volumes-local.go @@ -1337,6 +1337,8 @@ func createVolumeConfigMap(config *localTestConfig) { func createProvisionerDaemonset(config *localTestConfig) { provisionerPrivileged := true + mountProp := v1.MountPropagationHostToContainer + provisioner := &extv1beta1.DaemonSet{ TypeMeta: metav1.TypeMeta{ Kind: "DaemonSet", @@ -1387,8 +1389,9 @@ func createProvisionerDaemonset(config *localTestConfig) { MountPath: "/etc/provisioner/config/", }, { - Name: "local-disks", - MountPath: provisionerDefaultMountRoot, + Name: "local-disks", + MountPath: provisionerDefaultMountRoot, + MountPropagation: &mountProp, }, }, },