UPSTREAM: 69215: Fix flake in CSI plugin e2e test
@@ -220,6 +220,9 @@ func csiHostPathPod(
Name: "external-provisioner",
Image: csiContainerImage("csi-provisioner"),
ImagePullPolicy: v1.PullAlways,
+ SecurityContext: &v1.SecurityContext{
+ Privileged: &priv,
+ },
Args: []string{
"--v=5",
"--provisioner=csi-hostpath",
@@ -236,6 +239,9 @@ func csiHostPathPod(
Name: "driver-registrar",
Image: csiContainerImage("driver-registrar"),
ImagePullPolicy: v1.PullAlways,
+ SecurityContext: &v1.SecurityContext{
+ Privileged: &priv,
+ },
Args: []string{
"--v=5",
"--csi-address=/csi/csi.sock",
@@ -261,6 +267,9 @@ func csiHostPathPod(
Name: "external-attacher",
Image: csiContainerImage("csi-attacher"),
ImagePullPolicy: v1.PullAlways,
+ SecurityContext: &v1.SecurityContext{
+ Privileged: &priv,
+ },
Args: []string{
"--v=5",
"--csi-address=$(ADDRESS)",
