Skip to content

Commit ef95d12

Browse files
chore(k8s): remove sbs-csi migration route (#2050)
Co-authored-by: Jonathan R. <[email protected]>
1 parent 5eec75d commit ef95d12

File tree

3 files changed

+0
-31
lines changed

3 files changed

+0
-31
lines changed

packages_generated/k8s/src/v1/api.gen.ts

-19
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ import type {
7777
ListPoolsResponse,
7878
ListVersionsRequest,
7979
ListVersionsResponse,
80-
MigrateClusterToSBSCSIRequest,
8180
Node,
8281
NodeMetadata,
8382
Pool,
@@ -334,24 +333,6 @@ export class API extends ParentAPI {
334333
path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/clusters/${validatePathParam('clusterId', request.clusterId)}/reset-admin-token`,
335334
})
336335

337-
/**
338-
* Migrate a cluster to SBS CSI. Enable the latest CSI compatible with Scaleway Block Storage (SBS) and migrate all existing PersistentVolumes/VolumeSnapshotContents to SBS.
339-
Make sure to have the necessary Quota before running this command.
340-
*
341-
* @param request - The request {@link MigrateClusterToSBSCSIRequest}
342-
* @returns A Promise of Cluster
343-
*/
344-
migrateClusterToSBSCSI = (request: Readonly<MigrateClusterToSBSCSIRequest>) =>
345-
this.client.fetch<Cluster>(
346-
{
347-
body: '{}',
348-
headers: jsonContentHeaders,
349-
method: 'POST',
350-
path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/clusters/${validatePathParam('clusterId', request.clusterId)}/migrate-to-sbs-csi`,
351-
},
352-
unmarshalCluster,
353-
)
354-
355336
protected pageOfListClusterACLRules = (
356337
request: Readonly<ListClusterACLRulesRequest>,
357338
) =>

packages_generated/k8s/src/v1/index.gen.ts

-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ export type {
6363
ListVersionsResponse,
6464
MaintenanceWindow,
6565
MaintenanceWindowDayOfTheWeek,
66-
MigrateClusterToSBSCSIRequest,
6766
Node,
6867
NodeMetadata,
6968
NodeMetadataCoreV1Taint,

packages_generated/k8s/src/v1/types.gen.ts

-11
Original file line numberDiff line numberDiff line change
@@ -1465,17 +1465,6 @@ export interface ListVersionsResponse {
14651465
versions: Version[]
14661466
}
14671467

1468-
export type MigrateClusterToSBSCSIRequest = {
1469-
/**
1470-
* Region to target. If none is passed will use default region from the config.
1471-
*/
1472-
region?: ScwRegion
1473-
/**
1474-
* Cluster ID for which the latest CSI compatible with Scaleway Block Storage will be enabled.
1475-
*/
1476-
clusterId: string
1477-
}
1478-
14791468
export interface NodeMetadata {
14801469
id: string
14811470
name: string

0 commit comments

Comments
 (0)