From a4a3d20934c03995ad5dc9a915b30b58299e8629 Mon Sep 17 00:00:00 2001 From: Hemant Kumar Date: Sun, 12 Mar 2017 23:21:07 -0400 Subject: [PATCH] Fix vsphere selinux support Managed flag must be true for SELinux relabelling to work for vsphere. --- pkg/volume/vsphere_volume/vsphere_volume.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/volume/vsphere_volume/vsphere_volume.go b/pkg/volume/vsphere_volume/vsphere_volume.go index ac72babe9ec..64b1946d35f 100644 --- a/pkg/volume/vsphere_volume/vsphere_volume.go +++ b/pkg/volume/vsphere_volume/vsphere_volume.go @@ -188,6 +188,7 @@ type vsphereVolumeMounter struct { func (b *vsphereVolumeMounter) GetAttributes() volume.Attributes { return volume.Attributes{ SupportsSELinux: true, + Managed: true, } }