mirror of
https://github.com/kubernetes/client-go.git
synced 2026-05-15 11:43:33 +00:00
Remove feature gate AnyVolumeDataSource
Signed-off-by: carlory <baofa.fan@daocloud.io> Kubernetes-commit: 9a1b8cbe492cae9943160c5eaeba7b3caf1cf7c5
This commit is contained in:
committed by
Kubernetes Publisher
parent
3c8a6967ba
commit
333a3455d5
@@ -53,8 +53,8 @@ type PersistentVolumeClaimSpecApplyConfiguration struct {
|
||||
// * An existing PVC (PersistentVolumeClaim)
|
||||
// If the provisioner or an external controller can support the specified data source,
|
||||
// it will create a new volume based on the contents of the specified data source.
|
||||
// When the AnyVolumeDataSource feature gate is enabled, dataSource contents will be copied to dataSourceRef,
|
||||
// and dataSourceRef contents will be copied to dataSource when dataSourceRef.namespace is not specified.
|
||||
// dataSource contents will be copied to dataSourceRef, and dataSourceRef contents will be copied
|
||||
// to dataSource when dataSourceRef.namespace is not specified.
|
||||
// If the namespace is specified, then dataSourceRef will not be copied to dataSource.
|
||||
DataSource *TypedLocalObjectReferenceApplyConfiguration `json:"dataSource,omitempty"`
|
||||
// dataSourceRef specifies the object from which to populate the volume with data, if a non-empty
|
||||
@@ -78,7 +78,6 @@ type PersistentVolumeClaimSpecApplyConfiguration struct {
|
||||
// specified.
|
||||
// * While dataSource only allows local objects, dataSourceRef allows objects
|
||||
// in any namespaces.
|
||||
// (Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled.
|
||||
// (Alpha) Using the namespace field of dataSourceRef requires the CrossNamespaceVolumeDataSource feature gate to be enabled.
|
||||
DataSourceRef *TypedObjectReferenceApplyConfiguration `json:"dataSourceRef,omitempty"`
|
||||
// volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim.
|
||||
|
||||
Reference in New Issue
Block a user