mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-02 03:08:15 +00:00
Merge pull request #40088 from jsafrane/storage-ga-v1
Automatic merge from submit-queue (batch tested with PRs 41854, 41801, 40088, 41590, 41911) Add storage.k8s.io/v1 API v1 API is direct copy of v1beta1 API. This v1 API gets installed and exposed in this PR, I tested that kubectl can create both v1beta1 and v1 StorageClass. ~~Rest of Kubernetes (controllers, examples,. tests, ...) still use v1beta1 API, I will update it when this PR gets merged as these changes would get lost among generated code.~~ Most parts use v1 API now, it would not compile / run tests without it. **Release note**: ``` Kubernetes API storage.k8s.io for storage objects is now fully supported and is available as storage.k8s.io/v1. Beta version of the API storage.k8s.io/v1beta1 is still available in this release, however it will be removed in a future Kubernetes release. Together with the API endpoint, StorageClass annotation "storageclass.beta.kubernetes.io/is-default-class" is deprecated and "storageclass.kubernetes.io/is-default-class" should be used instead to mark a default storage class. The beta annotation is still working in this release, however it won't be supported in the next one. ``` @kubernetes/sig-storage-misc
This commit is contained in:
@@ -103,6 +103,7 @@ pkg/client/informers/informers_generated/externalversions/rbac
|
||||
pkg/client/informers/informers_generated/externalversions/rbac/v1alpha1
|
||||
pkg/client/informers/informers_generated/externalversions/rbac/v1beta1
|
||||
pkg/client/informers/informers_generated/externalversions/storage
|
||||
pkg/client/informers/informers_generated/externalversions/storage/v1
|
||||
pkg/client/informers/informers_generated/externalversions/storage/v1beta1
|
||||
pkg/client/informers/informers_generated/internalversion
|
||||
pkg/client/informers/informers_generated/internalversion/apps
|
||||
@@ -152,6 +153,7 @@ pkg/client/listers/rbac/internalversion
|
||||
pkg/client/listers/rbac/v1alpha1
|
||||
pkg/client/listers/rbac/v1beta1
|
||||
pkg/client/listers/storage/internalversion
|
||||
pkg/client/listers/storage/v1
|
||||
pkg/client/listers/storage/v1beta1
|
||||
pkg/client/metrics
|
||||
pkg/client/metrics/prometheus
|
||||
|
||||
@@ -68,7 +68,8 @@ imagepolicy.k8s.io/v1alpha1 \
|
||||
policy/v1beta1 \
|
||||
rbac.authorization.k8s.io/v1beta1 \
|
||||
rbac.authorization.k8s.io/v1alpha1 \
|
||||
storage.k8s.io/v1beta1\
|
||||
storage.k8s.io/v1beta1 \
|
||||
storage.k8s.io/v1\
|
||||
}"
|
||||
|
||||
# not all group versions are exposed by the server. This list contains those
|
||||
|
||||
@@ -3230,7 +3230,7 @@ runTests() {
|
||||
kubectl create -f - "${kube_flags[@]}" << __EOF__
|
||||
{
|
||||
"kind": "StorageClass",
|
||||
"apiVersion": "storage.k8s.io/v1beta1",
|
||||
"apiVersion": "storage.k8s.io/v1",
|
||||
"metadata": {
|
||||
"name": "storage-class-name"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user