Skip to content

Commit a3be045

Browse files
authored
Merge pull request #32625 from tengqm/AnyVolumeDataSource-beta
AnyVolumeDataSource feature is now Beta
2 parents ef745a0 + fa95fa9 commit a3be045

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

content/en/docs/concepts/storage/persistent-volumes.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -904,17 +904,12 @@ spec:
904904

905905
## Volume populators and data sources
906906

907-
{{< feature-state for_k8s_version="v1.22" state="alpha" >}}
907+
{{< feature-state for_k8s_version="v1.24" state="beta" >}}
908908

909-
{{< note >}}
910-
Kubernetes supports custom volume populators; this alpha feature was introduced
911-
in Kubernetes 1.18. Kubernetes 1.22 reimplemented the mechanism with a redesigned API.
912-
Check that you are reading the version of the Kubernetes documentation that matches your
913-
cluster. {{% version-check %}}
909+
Kubernetes supports custom volume populators.
914910
To use custom volume populators, you must enable the `AnyVolumeDataSource`
915911
[feature gate](/docs/reference/command-line-tools-reference/feature-gates/) for
916912
the kube-apiserver and kube-controller-manager.
917-
{{< /note >}}
918913

919914
Volume populators take advantage of a PVC spec field called `dataSourceRef`. Unlike the
920915
`dataSource` field, which can only contain either a reference to another PersistentVolumeClaim
@@ -932,6 +927,7 @@ contents.
932927

933928
There are two differences between the `dataSourceRef` field and the `dataSource` field that
934929
users should be aware of:
930+
935931
* The `dataSource` field ignores invalid values (as if the field was blank) while the
936932
`dataSourceRef` field never ignores values and will cause an error if an invalid value is
937933
used. Invalid values are any core object (objects with no apiGroup) except for PVCs.

content/en/docs/reference/command-line-tools-reference/feature-gates.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@ different Kubernetes components.
6161
| `APIServerIdentity` | `false` | Alpha | 1.20 | |
6262
| `APIServerTracing` | `false` | Alpha | 1.22 | |
6363
| `AllowInsecureBackendProxy` | `true` | Beta | 1.17 | |
64-
| `AnyVolumeDataSource` | `false` | Alpha | 1.18 | |
64+
| `AnyVolumeDataSource` | `false` | Alpha | 1.18 | 1.23 |
65+
| `AnyVolumeDataSource` | `true` | Beta | 1.24 | |
6566
| `AppArmor` | `true` | Beta | 1.4 | |
6667
| `ControllerManagerLeaderMigration` | `false` | Alpha | 1.21 | 1.21 |
6768
| `ControllerManagerLeaderMigration` | `true` | Beta | 1.22 | |

0 commit comments

Comments
 (0)