From 333a3455d5a4480528ffa64d24a4423284aee666 Mon Sep 17 00:00:00 2001 From: carlory Date: Tue, 18 Nov 2025 17:26:20 +0800 Subject: [PATCH 1/2] Remove feature gate AnyVolumeDataSource Signed-off-by: carlory Kubernetes-commit: 9a1b8cbe492cae9943160c5eaeba7b3caf1cf7c5 --- applyconfigurations/core/v1/persistentvolumeclaimspec.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/applyconfigurations/core/v1/persistentvolumeclaimspec.go b/applyconfigurations/core/v1/persistentvolumeclaimspec.go index 8710769b7..b27b9c74c 100644 --- a/applyconfigurations/core/v1/persistentvolumeclaimspec.go +++ b/applyconfigurations/core/v1/persistentvolumeclaimspec.go @@ -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. From 6a81dca7e689019813bfc9ea40fe9308ac7d5069 Mon Sep 17 00:00:00 2001 From: carlory Date: Tue, 18 Nov 2025 17:35:11 +0800 Subject: [PATCH 2/2] run make update Signed-off-by: carlory Kubernetes-commit: 95460ea1f897a497d01641986e38cb56b5565bed --- applyconfigurations/core/v1/persistentvolumeclaimspec.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/applyconfigurations/core/v1/persistentvolumeclaimspec.go b/applyconfigurations/core/v1/persistentvolumeclaimspec.go index b27b9c74c..1761f7bf3 100644 --- a/applyconfigurations/core/v1/persistentvolumeclaimspec.go +++ b/applyconfigurations/core/v1/persistentvolumeclaimspec.go @@ -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. - // 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