mirror of https://github.com/k3s-io/k3s
Merge pull request #58646 from adityadani/disable_selinux_for_portworx_volumes
Change the portworx volume attribute SupportsSELinux to falsepull/58/head
commit
2e73529c9e
|
@ -269,10 +269,9 @@ var _ volume.Mounter = &portworxVolumeMounter{}
|
||||||
|
|
||||||
func (b *portworxVolumeMounter) GetAttributes() volume.Attributes {
|
func (b *portworxVolumeMounter) GetAttributes() volume.Attributes {
|
||||||
return volume.Attributes{
|
return volume.Attributes{
|
||||||
ReadOnly: b.readOnly,
|
ReadOnly: b.readOnly,
|
||||||
Managed: !b.readOnly,
|
Managed: !b.readOnly,
|
||||||
// true ?
|
SupportsSELinux: false,
|
||||||
SupportsSELinux: true,
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue