Skip to content

Commit

Permalink
fix(k8s): align fields names with ones used in compute user-data (#1688)
Browse files Browse the repository at this point in the history
Co-authored-by: Jules Castéran <jcasteran@scaleway.com>
  • Loading branch information
scaleway-bot and Codelax authored Dec 24, 2024
1 parent dbced46 commit af495a1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/clients/src/api/k8s/v1/marshalling.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -343,8 +343,8 @@ export const unmarshalExternalNodeAuth = (data: unknown): ExternalNodeAuth => {
}

return {
apiUrl: data.api_url,
nodeToken: data.node_token,
metadataUrl: data.metadata_url,
nodeSecretKey: data.node_secret_key,
} as ExternalNodeAuth
}

Expand Down
4 changes: 2 additions & 2 deletions packages/clients/src/api/k8s/v1/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -974,8 +974,8 @@ export interface ExternalNode {
}

export interface ExternalNodeAuth {
nodeToken: string
apiUrl: string
nodeSecretKey: string
metadataUrl: string
}

export type GetClusterKubeConfigRequest = {
Expand Down

0 comments on commit af495a1

Please sign in to comment.