Skip to content

Commit af495a1

Browse files
fix(k8s): align fields names with ones used in compute user-data (#1688)
Co-authored-by: Jules Castéran <[email protected]>
1 parent dbced46 commit af495a1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

packages/clients/src/api/k8s/v1/marshalling.gen.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -343,8 +343,8 @@ export const unmarshalExternalNodeAuth = (data: unknown): ExternalNodeAuth => {
343343
}
344344

345345
return {
346-
apiUrl: data.api_url,
347-
nodeToken: data.node_token,
346+
metadataUrl: data.metadata_url,
347+
nodeSecretKey: data.node_secret_key,
348348
} as ExternalNodeAuth
349349
}
350350

packages/clients/src/api/k8s/v1/types.gen.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -974,8 +974,8 @@ export interface ExternalNode {
974974
}
975975

976976
export interface ExternalNodeAuth {
977-
nodeToken: string
978-
apiUrl: string
977+
nodeSecretKey: string
978+
metadataUrl: string
979979
}
980980

981981
export type GetClusterKubeConfigRequest = {

0 commit comments

Comments
 (0)