Commit 538c5c74 authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #42973 from gnufied/fix-vsphere-selinux

Automatic merge from submit-queue Fix vsphere selinux support Managed flag must be true for SELinux relabelling to work for vsphere. Fixes #42972
parents 05c046f6 a4a3d209
...@@ -188,6 +188,7 @@ type vsphereVolumeMounter struct { ...@@ -188,6 +188,7 @@ type vsphereVolumeMounter struct {
func (b *vsphereVolumeMounter) GetAttributes() volume.Attributes { func (b *vsphereVolumeMounter) GetAttributes() volume.Attributes {
return volume.Attributes{ return volume.Attributes{
SupportsSELinux: true, SupportsSELinux: true,
Managed: true,
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment