@@ -34,13 +34,14 @@ type KubernetesInstance struct {
34
34
35
35
// KubernetesPool represents a single pool within a Kubernetes cluster
36
36
type 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"`
44
45
}
45
46
46
47
// KubernetesInstalledApplication is an application within our marketplace available for
@@ -110,11 +111,12 @@ type KubernetesCluster struct {
110
111
111
112
// RequiredPools returns the required pools for a given Kubernetes cluster
112
113
type 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"`
118
120
}
119
121
120
122
// PaginatedKubernetesClusters is a Kubernetes k3s cluster
@@ -145,9 +147,10 @@ type KubernetesClusterConfig struct {
145
147
146
148
// KubernetesClusterPoolConfig is used to create a new cluster pool
147
149
type 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"`
151
154
}
152
155
153
156
// KubernetesPlanConfiguration is a value within a configuration for
0 commit comments