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
3 changes: 3 additions & 0 deletions packages_generated/k8s/src/v1/marshalling.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ export const unmarshalPool = (data: unknown): Pool => {
region: data.region,
rootVolumeSize: data.root_volume_size,
rootVolumeType: data.root_volume_type,
securityGroupId: data.security_group_id,
size: data.size,
status: data.status,
tags: data.tags,
Expand Down Expand Up @@ -646,6 +647,7 @@ const marshalCreateClusterRequestPoolConfig = (
public_ip_disabled: request.publicIpDisabled,
root_volume_size: request.rootVolumeSize,
root_volume_type: request.rootVolumeType,
security_group_id: request.securityGroupId,
size: request.size,
tags: request.tags,
upgrade_policy:
Expand Down Expand Up @@ -735,6 +737,7 @@ export const marshalCreatePoolRequest = (
public_ip_disabled: request.publicIpDisabled,
root_volume_size: request.rootVolumeSize,
root_volume_type: request.rootVolumeType,
security_group_id: request.securityGroupId,
size: request.size,
tags: request.tags,
upgrade_policy:
Expand Down
12 changes: 12 additions & 0 deletions packages_generated/k8s/src/v1/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,10 @@ export interface Pool {
* @deprecated Defines whether the pool is migrated to new images.
*/
newImagesEnabled?: boolean
/**
* Security group ID in which all the nodes of the pool will be created. If unset, the pool will use default Kapsule security group in current zone.
*/
securityGroupId: string
/**
* Cluster region of the pool.
*/
Expand Down Expand Up @@ -526,6 +530,10 @@ export interface CreateClusterRequestPoolConfig {
* Defines if the public IP should be removed from Nodes. To use this feature, your Cluster must have an attached Private Network set up with a Public Gateway.
*/
publicIpDisabled: boolean
/**
* Security group ID in which all the nodes of the pool will be created. If unset, the pool will use default Kapsule security group in current zone.
*/
securityGroupId?: string
}

export interface CreatePoolRequestUpgradePolicy {
Expand Down Expand Up @@ -1071,6 +1079,10 @@ export type CreatePoolRequest = {
* Defines if the public IP should be removed from Nodes. To use this feature, your Cluster must have an attached Private Network set up with a Public Gateway.
*/
publicIpDisabled: boolean
/**
* Security group ID in which all the nodes of the pool will be created. If unset, the pool will use default Kapsule security group in current zone.
*/
securityGroupId?: string
}

export type DeleteACLRuleRequest = {
Expand Down
Loading