Skip to content

Commit 105bb4e

Browse files
authored
fix(k8s): align fields names with ones used in compute user-data (scaleway#2373)
1 parent c8755a4 commit 105bb4e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

api/k8s/v1/k8s_sdk.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1543,9 +1543,9 @@ type ExternalNode struct {
15431543

15441544
// ExternalNodeAuth: external node auth.
15451545
type ExternalNodeAuth struct {
1546-
NodeToken string `json:"node_token"`
1546+
NodeSecretKey string `json:"node_secret_key"`
15471547

1548-
APIURL string `json:"api_url"`
1548+
MetadataURL string `json:"metadata_url"`
15491549
}
15501550

15511551
// GetClusterKubeConfigRequest: get cluster kube config request.

0 commit comments

Comments
 (0)