Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(kapsule): expose public_ip_disabled field #1863

Merged
merged 1 commit into from
Oct 9, 2023
Merged
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 api/k8s/v1/k8s_sdk.go
Original file line number Diff line number Diff line change
Expand Up @@ -808,6 +808,8 @@ type CreateClusterRequestPoolConfig struct {
RootVolumeType PoolVolumeType `json:"root_volume_type"`
// RootVolumeSize: system volume disk size.
RootVolumeSize *scw.Size `json:"root_volume_size"`
// PublicIPDisabled: 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 bool `json:"public_ip_disabled"`
}

// CreateClusterRequestPoolConfigUpgradePolicy: create cluster request. pool config. upgrade policy.
Expand Down Expand Up @@ -981,6 +983,8 @@ type Pool struct {
RootVolumeType PoolVolumeType `json:"root_volume_type"`
// RootVolumeSize: system volume disk size.
RootVolumeSize *scw.Size `json:"root_volume_size"`
// PublicIPDisabled: 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 bool `json:"public_ip_disabled"`
// Region: cluster region of the pool.
Region scw.Region `json:"region"`
}
Expand Down Expand Up @@ -1805,6 +1809,8 @@ type CreatePoolRequest struct {
RootVolumeType PoolVolumeType `json:"root_volume_type"`
// RootVolumeSize: system volume disk size.
RootVolumeSize *scw.Size `json:"root_volume_size"`
// PublicIPDisabled: 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 bool `json:"public_ip_disabled"`
}

// CreatePool: create a new Pool in a Cluster.
Expand Down
Loading