Skip to content
Snippets Groups Projects
Commit 4e3741ac authored by Derek Su's avatar Derek Su
Browse files

Revert "Give the helper pod more range of MCS categories"


This reverts commit c4dc309a.

Signed-off-by: default avatarDerek Su <derek.su@suse.com>
parent 4a77e7c7
No related branches found
No related tags found
No related merge requests found
......@@ -674,11 +674,7 @@ func (p *LocalPathProvisioner) createHelperPod(action ActionType, cmd []string,
"-s", strconv.FormatInt(o.SizeInBytes, 10),
"-m", string(o.Mode),
"-a", string(action)}
helperPod.Spec.Containers[0].SecurityContext = &v1.SecurityContext{
SELinuxOptions: &v1.SELinuxOptions{
Level: "s0-s0:c0.c1023",
},
}
// If it already exists due to some previous errors, the pod will be cleaned up later automatically
// https://github.com/rancher/local-path-provisioner/issues/27
logrus.Infof("create the helper pod %s into %s", helperPod.Name, p.namespace)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment