From c5452d7c470349f9ffa968810078a24544fecea3 Mon Sep 17 00:00:00 2001 From: scaleway-bot Date: Tue, 9 Jan 2024 15:41:05 +0000 Subject: [PATCH] feat: update generated APIs --- packages/clients/src/api/k8s/v1/api.gen.ts | 2 +- packages/clients/src/api/k8s/v1/types.gen.ts | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/clients/src/api/k8s/v1/api.gen.ts b/packages/clients/src/api/k8s/v1/api.gen.ts index 283952403..7e719f58e 100644 --- a/packages/clients/src/api/k8s/v1/api.gen.ts +++ b/packages/clients/src/api/k8s/v1/api.gen.ts @@ -348,7 +348,7 @@ export class API extends ParentAPI { 'clusterId', request.clusterId, )}/kubeconfig`, - urlParams: urlParams(['dl', 1]), + urlParams: urlParams(['dl', 1], ['redacted', request.redacted]), responseType: 'blob', }) diff --git a/packages/clients/src/api/k8s/v1/types.gen.ts b/packages/clients/src/api/k8s/v1/types.gen.ts index a59bae909..764949d59 100644 --- a/packages/clients/src/api/k8s/v1/types.gen.ts +++ b/packages/clients/src/api/k8s/v1/types.gen.ts @@ -908,6 +908,8 @@ export type GetClusterKubeConfigRequest = { region?: Region /** Cluster ID for which to download the kubeconfig. */ clusterId: string + /** Hide the legacy token from the kubeconfig. */ + redacted?: boolean } export type GetClusterRequest = {