Remove SupportsOwnershipManagement volume attribute
This commit is contained in:
parent
4ac151321a
commit
7767698459
@ -224,7 +224,6 @@ func (b *awsElasticBlockStoreBuilder) GetAttributes() volume.Attributes {
|
|||||||
return volume.Attributes{
|
return volume.Attributes{
|
||||||
ReadOnly: b.readOnly,
|
ReadOnly: b.readOnly,
|
||||||
Managed: !b.readOnly,
|
Managed: !b.readOnly,
|
||||||
SupportsOwnershipManagement: true,
|
|
||||||
SupportsSELinux: true,
|
SupportsSELinux: true,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -157,7 +157,6 @@ func (cephfsVolume *cephfsBuilder) GetAttributes() volume.Attributes {
|
|||||||
return volume.Attributes{
|
return volume.Attributes{
|
||||||
ReadOnly: cephfsVolume.readonly,
|
ReadOnly: cephfsVolume.readonly,
|
||||||
Managed: false,
|
Managed: false,
|
||||||
SupportsOwnershipManagement: false,
|
|
||||||
SupportsSELinux: false,
|
SupportsSELinux: false,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -218,7 +218,6 @@ func (b *cinderVolumeBuilder) GetAttributes() volume.Attributes {
|
|||||||
return volume.Attributes{
|
return volume.Attributes{
|
||||||
ReadOnly: b.readOnly,
|
ReadOnly: b.readOnly,
|
||||||
Managed: !b.readOnly,
|
Managed: !b.readOnly,
|
||||||
SupportsOwnershipManagement: true,
|
|
||||||
SupportsSELinux: true,
|
SupportsSELinux: true,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -114,7 +114,6 @@ func (d *downwardAPIVolume) GetAttributes() volume.Attributes {
|
|||||||
return volume.Attributes{
|
return volume.Attributes{
|
||||||
ReadOnly: true,
|
ReadOnly: true,
|
||||||
Managed: true,
|
Managed: true,
|
||||||
SupportsOwnershipManagement: true,
|
|
||||||
SupportsSELinux: true,
|
SupportsSELinux: true,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -144,7 +144,6 @@ func (ed *emptyDir) GetAttributes() volume.Attributes {
|
|||||||
return volume.Attributes{
|
return volume.Attributes{
|
||||||
ReadOnly: false,
|
ReadOnly: false,
|
||||||
Managed: true,
|
Managed: true,
|
||||||
SupportsOwnershipManagement: true,
|
|
||||||
SupportsSELinux: true,
|
SupportsSELinux: true,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -172,7 +172,6 @@ func (b *fcDiskBuilder) GetAttributes() volume.Attributes {
|
|||||||
return volume.Attributes{
|
return volume.Attributes{
|
||||||
ReadOnly: b.readOnly,
|
ReadOnly: b.readOnly,
|
||||||
Managed: !b.readOnly,
|
Managed: !b.readOnly,
|
||||||
SupportsOwnershipManagement: true,
|
|
||||||
SupportsSELinux: true,
|
SupportsSELinux: true,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -233,7 +233,6 @@ func (f flexVolumeBuilder) GetAttributes() volume.Attributes {
|
|||||||
return volume.Attributes{
|
return volume.Attributes{
|
||||||
ReadOnly: f.readOnly,
|
ReadOnly: f.readOnly,
|
||||||
Managed: false,
|
Managed: false,
|
||||||
SupportsOwnershipManagement: false,
|
|
||||||
SupportsSELinux: false,
|
SupportsSELinux: false,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -119,7 +119,6 @@ func (b flockerBuilder) GetAttributes() volume.Attributes {
|
|||||||
return volume.Attributes{
|
return volume.Attributes{
|
||||||
ReadOnly: b.readOnly,
|
ReadOnly: b.readOnly,
|
||||||
Managed: false,
|
Managed: false,
|
||||||
SupportsOwnershipManagement: false,
|
|
||||||
SupportsSELinux: false,
|
SupportsSELinux: false,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -213,7 +213,6 @@ func (b *gcePersistentDiskBuilder) GetAttributes() volume.Attributes {
|
|||||||
return volume.Attributes{
|
return volume.Attributes{
|
||||||
ReadOnly: b.readOnly,
|
ReadOnly: b.readOnly,
|
||||||
Managed: !b.readOnly,
|
Managed: !b.readOnly,
|
||||||
SupportsOwnershipManagement: true,
|
|
||||||
SupportsSELinux: true,
|
SupportsSELinux: true,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -118,7 +118,6 @@ func (b *gitRepoVolumeBuilder) GetAttributes() volume.Attributes {
|
|||||||
return volume.Attributes{
|
return volume.Attributes{
|
||||||
ReadOnly: false,
|
ReadOnly: false,
|
||||||
Managed: true,
|
Managed: true,
|
||||||
SupportsOwnershipManagement: false,
|
|
||||||
SupportsSELinux: true, // xattr change should be okay, TODO: double check
|
SupportsSELinux: true, // xattr change should be okay, TODO: double check
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -160,7 +160,6 @@ func (b *glusterfsBuilder) GetAttributes() volume.Attributes {
|
|||||||
return volume.Attributes{
|
return volume.Attributes{
|
||||||
ReadOnly: b.readOnly,
|
ReadOnly: b.readOnly,
|
||||||
Managed: false,
|
Managed: false,
|
||||||
SupportsOwnershipManagement: false,
|
|
||||||
SupportsSELinux: false,
|
SupportsSELinux: false,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -180,7 +180,6 @@ func (b *hostPathBuilder) GetAttributes() volume.Attributes {
|
|||||||
return volume.Attributes{
|
return volume.Attributes{
|
||||||
ReadOnly: b.readOnly,
|
ReadOnly: b.readOnly,
|
||||||
Managed: false,
|
Managed: false,
|
||||||
SupportsOwnershipManagement: false,
|
|
||||||
SupportsSELinux: false,
|
SupportsSELinux: false,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -170,7 +170,6 @@ func (b *iscsiDiskBuilder) GetAttributes() volume.Attributes {
|
|||||||
return volume.Attributes{
|
return volume.Attributes{
|
||||||
ReadOnly: b.readOnly,
|
ReadOnly: b.readOnly,
|
||||||
Managed: !b.readOnly,
|
Managed: !b.readOnly,
|
||||||
SupportsOwnershipManagement: true,
|
|
||||||
SupportsSELinux: true,
|
SupportsSELinux: true,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -153,7 +153,6 @@ func (b *nfsBuilder) GetAttributes() volume.Attributes {
|
|||||||
return volume.Attributes{
|
return volume.Attributes{
|
||||||
ReadOnly: b.readOnly,
|
ReadOnly: b.readOnly,
|
||||||
Managed: false,
|
Managed: false,
|
||||||
SupportsOwnershipManagement: false,
|
|
||||||
SupportsSELinux: false,
|
SupportsSELinux: false,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -198,7 +198,6 @@ func (b *rbd) GetAttributes() volume.Attributes {
|
|||||||
return volume.Attributes{
|
return volume.Attributes{
|
||||||
ReadOnly: b.ReadOnly,
|
ReadOnly: b.ReadOnly,
|
||||||
Managed: !b.ReadOnly,
|
Managed: !b.ReadOnly,
|
||||||
SupportsOwnershipManagement: true,
|
|
||||||
SupportsSELinux: true,
|
SupportsSELinux: true,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -103,7 +103,6 @@ func (sv *secretVolume) GetAttributes() volume.Attributes {
|
|||||||
return volume.Attributes{
|
return volume.Attributes{
|
||||||
ReadOnly: true,
|
ReadOnly: true,
|
||||||
Managed: true,
|
Managed: true,
|
||||||
SupportsOwnershipManagement: true,
|
|
||||||
SupportsSELinux: true,
|
SupportsSELinux: true,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -178,7 +178,6 @@ func (_ *FakeVolume) GetAttributes() Attributes {
|
|||||||
return Attributes{
|
return Attributes{
|
||||||
ReadOnly: false,
|
ReadOnly: false,
|
||||||
Managed: true,
|
Managed: true,
|
||||||
SupportsOwnershipManagement: true,
|
|
||||||
SupportsSELinux: true,
|
SupportsSELinux: true,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -62,7 +62,6 @@ type Metrics struct {
|
|||||||
type Attributes struct {
|
type Attributes struct {
|
||||||
ReadOnly bool
|
ReadOnly bool
|
||||||
Managed bool
|
Managed bool
|
||||||
SupportsOwnershipManagement bool
|
|
||||||
SupportsSELinux bool
|
SupportsSELinux bool
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user