CSIStorageCapacity: add +featureGate=CSIStorageCapacity

The tag is currently mostly ignored by the tooling, but its usage is
encouraged (https://github.com/kubernetes/kubernetes/pull/99641#discussion_r588078444).
This commit is contained in:
Patrick Ohly 2021-03-05 21:40:48 +01:00
parent 2b062a6281
commit 39103c188f
4 changed files with 4 additions and 0 deletions

View File

@ -137,6 +137,7 @@ message CSIDriverSpec {
// feature is enabled. The default is false.
//
// +optional
// +featureGate=CSIStorageCapacity
optional bool storageCapacity = 4;
// Defines if the underlying volume supports changing ownership and

View File

@ -335,6 +335,7 @@ type CSIDriverSpec struct {
// feature is enabled. The default is false.
//
// +optional
// +featureGate=CSIStorageCapacity
StorageCapacity *bool `json:"storageCapacity,omitempty" protobuf:"bytes,4,opt,name=storageCapacity"`
// Defines if the underlying volume supports changing ownership and

View File

@ -139,6 +139,7 @@ message CSIDriverSpec {
// feature is enabled. The default is false.
//
// +optional
// +featureGate=CSIStorageCapacity
optional bool storageCapacity = 4;
// Defines if the underlying volume supports changing ownership and

View File

@ -356,6 +356,7 @@ type CSIDriverSpec struct {
// feature is enabled. The default is false.
//
// +optional
// +featureGate=CSIStorageCapacity
StorageCapacity *bool `json:"storageCapacity,omitempty" protobuf:"bytes,4,opt,name=storageCapacity"`
// Defines if the underlying volume supports changing ownership and