Skip to content

Commit c8437f0

Browse files
authored
feat(k8s): add nodelabels for kosmos nodes (#1040)
1 parent 81e92d0 commit c8437f0

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,7 @@ export const unmarshalExternalNode = (data: unknown): ExternalNode => {
273273
kubeToken: data.kube_token,
274274
kubeletConfig: data.kubelet_config,
275275
name: data.name,
276+
nodeLabels: data.node_labels,
276277
poolVersion: data.pool_version,
277278
runcVersion: data.runc_version,
278279
} as ExternalNode

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -887,6 +887,7 @@ export interface ExternalNode {
887887
containerdVersion: string
888888
runcVersion: string
889889
cniPluginsVersion: string
890+
nodeLabels: Record<string, string>
890891
}
891892

892893
export type GetClusterKubeConfigRequest = {

0 commit comments

Comments
 (0)