Skip to content

Commit e986217

Browse files
Update Generated API Code
1 parent 21f8995 commit e986217

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

pkg/apis/core/types.go

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -531,8 +531,8 @@ type PersistentVolumeClaimSpec struct {
531531
// * An existing PVC (PersistentVolumeClaim)
532532
// If the provisioner or an external controller can support the specified data source,
533533
// it will create a new volume based on the contents of the specified data source.
534-
// When the AnyVolumeDataSource feature gate is enabled, dataSource contents will be copied to dataSourceRef,
535-
// and dataSourceRef contents will be copied to dataSource when dataSourceRef.namespace is not specified.
534+
// dataSource contents will be copied to dataSourceRef, and dataSourceRef contents
535+
// will be copied to dataSource when dataSourceRef.namespace is not specified.
536536
// If the namespace is specified, then dataSourceRef will not be copied to dataSource.
537537
// +optional
538538
DataSource *TypedLocalObjectReference
@@ -557,8 +557,6 @@ type PersistentVolumeClaimSpec struct {
557557
// specified.
558558
// * While dataSource only allows local objects, dataSourceRef allows objects
559559
// in any namespaces.
560-
// (Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled.
561-
// (Alpha) Using the namespace field of dataSourceRef requires the CrossNamespaceVolumeDataSource feature gate to be enabled.
562560
// +optional
563561
DataSourceRef *TypedObjectReference
564562
// volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim.

0 commit comments

Comments
 (0)