Skip to content

Commit

Permalink
DOKS: add custom CIDR fields
Browse files Browse the repository at this point in the history
This exposes the new create requests fields that allow to set custom
CIDRs for the cluster and service subnets.
  • Loading branch information
gottwald committed Sep 24, 2024
1 parent 8348cdd commit 83e6e08
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions kubernetes.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,13 @@ type KubernetesServiceOp struct {

// KubernetesClusterCreateRequest represents a request to create a Kubernetes cluster.
type KubernetesClusterCreateRequest struct {
Name string `json:"name,omitempty"`
RegionSlug string `json:"region,omitempty"`
VersionSlug string `json:"version,omitempty"`
Tags []string `json:"tags,omitempty"`
VPCUUID string `json:"vpc_uuid,omitempty"`
Name string `json:"name,omitempty"`
RegionSlug string `json:"region,omitempty"`
VersionSlug string `json:"version,omitempty"`
Tags []string `json:"tags,omitempty"`
VPCUUID string `json:"vpc_uuid,omitempty"`
ClusterSubnet string `json:"cluster_subnet,omitempty"`
ServiceSubnet string `json:"service_subnet,omitempty"`

// Create cluster with highly available control plane
HA bool `json:"ha"`
Expand Down

0 comments on commit 83e6e08

Please sign in to comment.