Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions packages_generated/k8s/src/v1/marshalling.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -231,9 +231,12 @@ export const unmarshalCluster = (data: unknown): Cluster => {
? unmarshalClusterOpenIDConnectConfig(data.open_id_connect_config)
: undefined,
organizationId: data.organization_id,
podCidr: data.pod_cidr,
privateNetworkId: data.private_network_id,
projectId: data.project_id,
region: data.region,
serviceCidr: data.service_cidr,
serviceDnsIp: data.service_dns_ip,
status: data.status,
tags: data.tags,
type: data.type,
Expand Down Expand Up @@ -694,13 +697,16 @@ export const marshalCreateClusterRequest = (
defaults,
)
: undefined,
pod_cidr: request.podCidr,
pools:
request.pools !== undefined
? request.pools.map(elt =>
marshalCreateClusterRequestPoolConfig(elt, defaults),
)
: undefined,
private_network_id: request.privateNetworkId,
service_cidr: request.serviceCidr,
service_dns_ip: request.serviceDnsIp,
tags: request.tags,
type: request.type,
version: request.version,
Expand Down
24 changes: 24 additions & 0 deletions packages_generated/k8s/src/v1/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -734,6 +734,18 @@ export interface Cluster {
* @deprecated Defines whether all pools are migrated to new images.
*/
newImagesEnabled?: boolean
/**
* Subnet used for the Pod CIDR.
*/
podCidr: string
/**
* Subnet used for the Service CIDR.
*/
serviceCidr: string
/**
* IP used for the DNS Service.
*/
serviceDnsIp: string
}

export interface Node {
Expand Down Expand Up @@ -993,6 +1005,18 @@ export type CreateClusterRequest = {
* Private network ID for internal cluster communication (cannot be changed later).
*/
privateNetworkId?: string
/**
* Subnet used for the Pod CIDR (cannot be changed later).
*/
podCidr?: string
/**
* Subnet used for the Service CIDR (cannot be changed later).
*/
serviceCidr?: string
/**
* IP used for the DNS Service (cannot be changes later). If unset, default to Service CIDR's network + 10.
*/
serviceDnsIp?: string
}

export type CreateExternalNodeRequest = {
Expand Down
Loading