@@ -34,13 +34,14 @@ type KubernetesInstance struct {
3434
3535// KubernetesPool represents a single pool within a Kubernetes cluster
3636type KubernetesPool struct {
37- ID string `json:"id"`
38- Count int `json:"count,omitempty"`
39- Size string `json:"size,omitempty"`
40- InstanceNames []string `json:"instance_names,omitempty"`
41- Instances []KubernetesInstance `json:"instances,omitempty"`
42- Labels map [string ]string `json:"labels,omitempty"`
43- Taints []corev1.Taint `json:"taints,omitempty"`
37+ ID string `json:"id"`
38+ Count int `json:"count,omitempty"`
39+ Size string `json:"size,omitempty"`
40+ InstanceNames []string `json:"instance_names,omitempty"`
41+ Instances []KubernetesInstance `json:"instances,omitempty"`
42+ Labels map [string ]string `json:"labels,omitempty"`
43+ Taints []corev1.Taint `json:"taints,omitempty"`
44+ PublicIPNodePool bool `json:"public_ip_node_pool,omitempty"`
4445}
4546
4647// KubernetesInstalledApplication is an application within our marketplace available for
@@ -110,11 +111,12 @@ type KubernetesCluster struct {
110111
111112// RequiredPools returns the required pools for a given Kubernetes cluster
112113type RequiredPools struct {
113- ID string `json:"id"`
114- Size string `json:"size"`
115- Count int `json:"count"`
116- Labels map [string ]string `json:"labels,omitempty"`
117- Taints []corev1.Taint `json:"taints,omitempty"`
114+ ID string `json:"id"`
115+ Size string `json:"size"`
116+ Count int `json:"count"`
117+ Labels map [string ]string `json:"labels,omitempty"`
118+ Taints []corev1.Taint `json:"taints,omitempty"`
119+ PublicIPNodePool bool `json:"public_ip_node_pool,omitempty"`
118120}
119121
120122// PaginatedKubernetesClusters is a Kubernetes k3s cluster
@@ -145,9 +147,10 @@ type KubernetesClusterConfig struct {
145147
146148// KubernetesClusterPoolConfig is used to create a new cluster pool
147149type KubernetesClusterPoolConfig struct {
148- ID string `json:"id,omitempty"`
149- Count int `json:"count,omitempty"`
150- Size string `json:"size,omitempty"`
150+ ID string `json:"id,omitempty"`
151+ Count int `json:"count,omitempty"`
152+ Size string `json:"size,omitempty"`
153+ PublicIPNodePool bool `json:"public_ip_node_pool,omitempty"`
151154}
152155
153156// KubernetesPlanConfiguration is a value within a configuration for
0 commit comments