Skip to content

Commit

Permalink
Fix vsphere selinux support
Browse files Browse the repository at this point in the history
Managed flag must be true for SELinux relabelling to work
for vsphere.
  • Loading branch information
gnufied committed Mar 13, 2017
1 parent 33c4552 commit a4a3d20
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/volume/vsphere_volume/vsphere_volume.go
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ type vsphereVolumeMounter struct {
func (b *vsphereVolumeMounter) GetAttributes() volume.Attributes {
return volume.Attributes{
SupportsSELinux: true,
Managed: true,
}
}

Expand Down

0 comments on commit a4a3d20

Please sign in to comment.