From 105bb4e4019f2889ff2499105350df28adb45a3d Mon Sep 17 00:00:00 2001 From: Scaleway Bot Date: Tue, 24 Dec 2024 11:17:29 +0100 Subject: [PATCH] fix(k8s): align fields names with ones used in compute user-data (#2373) --- api/k8s/v1/k8s_sdk.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/k8s/v1/k8s_sdk.go b/api/k8s/v1/k8s_sdk.go index 14512286..47631053 100644 --- a/api/k8s/v1/k8s_sdk.go +++ b/api/k8s/v1/k8s_sdk.go @@ -1543,9 +1543,9 @@ type ExternalNode struct { // ExternalNodeAuth: external node auth. type ExternalNodeAuth struct { - NodeToken string `json:"node_token"` + NodeSecretKey string `json:"node_secret_key"` - APIURL string `json:"api_url"` + MetadataURL string `json:"metadata_url"` } // GetClusterKubeConfigRequest: get cluster kube config request.