mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 22:46:12 +00:00
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:
parent
2b062a6281
commit
39103c188f
@ -137,6 +137,7 @@ message CSIDriverSpec {
|
|||||||
// feature is enabled. The default is false.
|
// feature is enabled. The default is false.
|
||||||
//
|
//
|
||||||
// +optional
|
// +optional
|
||||||
|
// +featureGate=CSIStorageCapacity
|
||||||
optional bool storageCapacity = 4;
|
optional bool storageCapacity = 4;
|
||||||
|
|
||||||
// Defines if the underlying volume supports changing ownership and
|
// Defines if the underlying volume supports changing ownership and
|
||||||
|
@ -335,6 +335,7 @@ type CSIDriverSpec struct {
|
|||||||
// feature is enabled. The default is false.
|
// feature is enabled. The default is false.
|
||||||
//
|
//
|
||||||
// +optional
|
// +optional
|
||||||
|
// +featureGate=CSIStorageCapacity
|
||||||
StorageCapacity *bool `json:"storageCapacity,omitempty" protobuf:"bytes,4,opt,name=storageCapacity"`
|
StorageCapacity *bool `json:"storageCapacity,omitempty" protobuf:"bytes,4,opt,name=storageCapacity"`
|
||||||
|
|
||||||
// Defines if the underlying volume supports changing ownership and
|
// Defines if the underlying volume supports changing ownership and
|
||||||
|
@ -139,6 +139,7 @@ message CSIDriverSpec {
|
|||||||
// feature is enabled. The default is false.
|
// feature is enabled. The default is false.
|
||||||
//
|
//
|
||||||
// +optional
|
// +optional
|
||||||
|
// +featureGate=CSIStorageCapacity
|
||||||
optional bool storageCapacity = 4;
|
optional bool storageCapacity = 4;
|
||||||
|
|
||||||
// Defines if the underlying volume supports changing ownership and
|
// Defines if the underlying volume supports changing ownership and
|
||||||
|
@ -356,6 +356,7 @@ type CSIDriverSpec struct {
|
|||||||
// feature is enabled. The default is false.
|
// feature is enabled. The default is false.
|
||||||
//
|
//
|
||||||
// +optional
|
// +optional
|
||||||
|
// +featureGate=CSIStorageCapacity
|
||||||
StorageCapacity *bool `json:"storageCapacity,omitempty" protobuf:"bytes,4,opt,name=storageCapacity"`
|
StorageCapacity *bool `json:"storageCapacity,omitempty" protobuf:"bytes,4,opt,name=storageCapacity"`
|
||||||
|
|
||||||
// Defines if the underlying volume supports changing ownership and
|
// Defines if the underlying volume supports changing ownership and
|
||||||
|
Loading…
Reference in New Issue
Block a user