Add featureGate to CSIDriver.SELinuxMount

This commit is contained in:
Jan Safranek 2023-03-14 18:15:34 +01:00
parent a53c6f1dc8
commit 58c4ead0ad
5 changed files with 5 additions and 0 deletions

View File

@ -409,6 +409,7 @@ type CSIDriverSpec struct {
// //
// Default is "false". // Default is "false".
// //
// +featureGate=SELinuxMountReadWriteOncePod
// +optional // +optional
SELinuxMount *bool SELinuxMount *bool
} }

View File

@ -209,6 +209,7 @@ message CSIDriverSpec {
// //
// Default is "false". // Default is "false".
// //
// +featureGate=SELinuxMountReadWriteOncePod
// +optional // +optional
optional bool seLinuxMount = 8; optional bool seLinuxMount = 8;
} }

View File

@ -412,6 +412,7 @@ type CSIDriverSpec struct {
// //
// Default is "false". // Default is "false".
// //
// +featureGate=SELinuxMountReadWriteOncePod
// +optional // +optional
SELinuxMount *bool `json:"seLinuxMount,omitempty" protobuf:"varint,8,opt,name=seLinuxMount"` SELinuxMount *bool `json:"seLinuxMount,omitempty" protobuf:"varint,8,opt,name=seLinuxMount"`
} }

View File

@ -210,6 +210,7 @@ message CSIDriverSpec {
// //
// Default is "false". // Default is "false".
// //
// +featureGate=SELinuxMountReadWriteOncePod
// +optional // +optional
optional bool seLinuxMount = 8; optional bool seLinuxMount = 8;
} }

View File

@ -430,6 +430,7 @@ type CSIDriverSpec struct {
// //
// Default is "false". // Default is "false".
// //
// +featureGate=SELinuxMountReadWriteOncePod
// +optional // +optional
SELinuxMount *bool `json:"seLinuxMount,omitempty" protobuf:"varint,8,opt,name=seLinuxMount"` SELinuxMount *bool `json:"seLinuxMount,omitempty" protobuf:"varint,8,opt,name=seLinuxMount"`
} }