diff --git a/packages/clients/src/api/k8s/v1/api.gen.ts b/packages/clients/src/api/k8s/v1/api.gen.ts index aa41d70fc..33c27d610 100644 --- a/packages/clients/src/api/k8s/v1/api.gen.ts +++ b/packages/clients/src/api/k8s/v1/api.gen.ts @@ -67,7 +67,6 @@ import type { ListPoolsResponse, ListVersionsRequest, ListVersionsResponse, - MigrateClusterToRoutedIPsRequest, MigrateClusterToSBSCSIRequest, Node, NodeMetadata, @@ -333,26 +332,6 @@ export class API extends ParentAPI { path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/clusters/${validatePathParam('clusterId', request.clusterId)}/reset-admin-token`, }) - /** - * Migrate a cluster to Routed IPs. Migrate the nodes of an existing cluster - * to Routed IPs and enable Routed IPs for all future nodes. - * - * @param request - The request {@link MigrateClusterToRoutedIPsRequest} - * @returns A Promise of Cluster - */ - migrateClusterToRoutedIPs = ( - request: Readonly, - ) => - this.client.fetch( - { - body: '{}', - headers: jsonContentHeaders, - method: 'POST', - path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/clusters/${validatePathParam('clusterId', request.clusterId)}/migrate-to-routed-ips`, - }, - unmarshalCluster, - ) - /** * Migrate a cluster to SBS CSI. Enable the latest CSI compatible with * Scaleway Block Storage (SBS) and migrate all existing diff --git a/packages/clients/src/api/k8s/v1/index.gen.ts b/packages/clients/src/api/k8s/v1/index.gen.ts index 9d3c28da9..ec1458359 100644 --- a/packages/clients/src/api/k8s/v1/index.gen.ts +++ b/packages/clients/src/api/k8s/v1/index.gen.ts @@ -55,7 +55,6 @@ export type { ListVersionsResponse, MaintenanceWindow, MaintenanceWindowDayOfTheWeek, - MigrateClusterToRoutedIPsRequest, MigrateClusterToSBSCSIRequest, Node, NodeMetadata, diff --git a/packages/clients/src/api/k8s/v1/types.gen.ts b/packages/clients/src/api/k8s/v1/types.gen.ts index f702e5305..752a428c5 100644 --- a/packages/clients/src/api/k8s/v1/types.gen.ts +++ b/packages/clients/src/api/k8s/v1/types.gen.ts @@ -1140,16 +1140,6 @@ export interface ListVersionsResponse { versions: Version[] } -export type MigrateClusterToRoutedIPsRequest = { - /** - * Region to target. If none is passed will use default region from the - * config. - */ - region?: Region - /** Cluster ID for which the routed ip will be enabled for the nodes. */ - clusterId: string -} - export type MigrateClusterToSBSCSIRequest = { /** * Region to target. If none is passed will use default region from the