Skip to content

Commit

Permalink
feat: implements Storage Version Migration API in-tree
Browse files Browse the repository at this point in the history
Signed-off-by: Nilekh Chaudhari <1626598+nilekhc@users.noreply.github.com>
  • Loading branch information
nilekhc committed Mar 8, 2024
1 parent 7ea3d02 commit 91a7708
Show file tree
Hide file tree
Showing 97 changed files with 10,294 additions and 67 deletions.
1 change: 1 addition & 0 deletions api/api-rules/violation_exceptions.list
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
API rule violation: list_type_missing,k8s.io/api/storagemigration/v1alpha1,StorageVersionMigrationList,Items
API rule violation: list_type_missing,k8s.io/cloud-provider/config/v1alpha1,WebhookConfiguration,Webhooks
API rule violation: list_type_missing,k8s.io/controller-manager/config/v1alpha1,GenericControllerManagerConfiguration,Controllers
API rule violation: list_type_missing,k8s.io/controller-manager/config/v1alpha1,LeaderMigrationConfiguration,ControllerLeaders
Expand Down
49 changes: 49 additions & 0 deletions api/discovery/aggregated_v2beta1.json
Original file line number Diff line number Diff line change
Expand Up @@ -2065,6 +2065,55 @@
"version": "v1alpha2"
}
]
},
{
"metadata": {
"creationTimestamp": null,
"name": "storagemigration.k8s.io"
},
"versions": [
{
"freshness": "Current",
"resources": [
{
"resource": "storageversionmigrations",
"responseKind": {
"group": "",
"kind": "StorageVersionMigration",
"version": ""
},
"scope": "Cluster",
"singularResource": "storageversionmigration",
"subresources": [
{
"responseKind": {
"group": "",
"kind": "StorageVersionMigration",
"version": ""
},
"subresource": "status",
"verbs": [
"get",
"patch",
"update"
]
}
],
"verbs": [
"create",
"delete",
"deletecollection",
"get",
"list",
"patch",
"update",
"watch"
]
}
],
"version": "v1alpha1"
}
]
}
],
"kind": "APIGroupDiscoveryList",
Expand Down
13 changes: 13 additions & 0 deletions api/discovery/apis.json
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,19 @@
"version": "v1alpha2"
}
]
},
{
"name": "storagemigration.k8s.io",
"preferredVersion": {
"groupVersion": "storagemigration.k8s.io/v1alpha1",
"version": "v1alpha1"
},
"versions": [
{
"groupVersion": "storagemigration.k8s.io/v1alpha1",
"version": "v1alpha1"
}
]
}
],
"kind": "APIGroupList"
Expand Down
15 changes: 15 additions & 0 deletions api/discovery/apis__storagemigration.k8s.io.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"apiVersion": "v1",
"kind": "APIGroup",
"name": "storagemigration.k8s.io",
"preferredVersion": {
"groupVersion": "storagemigration.k8s.io/v1alpha1",
"version": "v1alpha1"
},
"versions": [
{
"groupVersion": "storagemigration.k8s.io/v1alpha1",
"version": "v1alpha1"
}
]
}
35 changes: 35 additions & 0 deletions api/discovery/apis__storagemigration.k8s.io__v1alpha1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"apiVersion": "v1",
"groupVersion": "storagemigration.k8s.io/v1alpha1",
"kind": "APIResourceList",
"resources": [
{
"kind": "StorageVersionMigration",
"name": "storageversionmigrations",
"namespaced": false,
"singularName": "storageversionmigration",
"storageVersionHash": "N0mJdFqO17c=",
"verbs": [
"create",
"delete",
"deletecollection",
"get",
"list",
"patch",
"update",
"watch"
]
},
{
"kind": "StorageVersionMigration",
"name": "storageversionmigrations/status",
"namespaced": false,
"singularName": "",
"verbs": [
"get",
"patch",
"update"
]
}
]
}
Loading

0 comments on commit 91a7708

Please sign in to comment.