Skip to content

Commit fa95fa9

Browse files
committed
AnyVolumeDataSource feature is now Beta
1 parent 526f791 commit fa95fa9

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
@@ -844,17 +844,12 @@ spec:
844844

845845
## Volume populators and data sources
846846

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

849-
{{< note >}}
850-
Kubernetes supports custom volume populators; this alpha feature was introduced
851-
in Kubernetes 1.18. Kubernetes 1.22 reimplemented the mechanism with a redesigned API.
852-
Check that you are reading the version of the Kubernetes documentation that matches your
853-
cluster. {{% version-check %}}
849+
Kubernetes supports custom volume populators.
854850
To use custom volume populators, you must enable the `AnyVolumeDataSource`
855851
[feature gate](/docs/reference/command-line-tools-reference/feature-gates/) for
856852
the kube-apiserver and kube-controller-manager.
857-
{{< /note >}}
858853

859854
Volume populators take advantage of a PVC spec field called `dataSourceRef`. Unlike the
860855
`dataSource` field, which can only contain either a reference to another PersistentVolumeClaim
@@ -872,6 +867,7 @@ contents.
872867

873868
There are two differences between the `dataSourceRef` field and the `dataSource` field that
874869
users should be aware of:
870+
875871
* The `dataSource` field ignores invalid values (as if the field was blank) while the
876872
`dataSourceRef` field never ignores values and will cause an error if an invalid value is
877873
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)