Skip to content

Commit

Permalink
fix(k8s): change node metadata path to avoid collision with nodes path (
Browse files Browse the repository at this point in the history
  • Loading branch information
scaleway-bot authored Nov 7, 2024
1 parent f1fd071 commit 64dcb36
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/clients/src/api/k8s/v1/api.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,7 @@ export class API extends ParentAPI {
this.client.fetch<NodeMetadata>(
{
method: 'GET',
path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/nodes/metadata`,
path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/node-metadata`,
},
unmarshalNodeMetadata,
)
Expand Down
7 changes: 6 additions & 1 deletion packages/clients/src/api/k8s/v1/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,12 @@ export type PoolStatus =
| 'locked'
| 'upgrading'

export type PoolVolumeType = 'default_volume_type' | 'l_ssd' | 'b_ssd'
export type PoolVolumeType =
| 'default_volume_type'
| 'l_ssd'
| 'b_ssd'
| 'sbs_5k'
| 'sbs_15k'

export type Runtime = 'unknown_runtime' | 'docker' | 'containerd' | 'crio'

Expand Down

0 comments on commit 64dcb36

Please sign in to comment.