From 1fd9833dd90d4db31fe09b48662995cb10c11953 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20J=2E=20Nu=C3=B1ez=20Madrazo?= Date: Mon, 29 Jan 2024 07:54:53 +0000 Subject: [PATCH] Update KubernetesClusterPoolConfig struct with Labels and Taints MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Alejandro J. Nuñez Madrazo --- kubernetes.go | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/kubernetes.go b/kubernetes.go index 21c4151..960deac 100644 --- a/kubernetes.go +++ b/kubernetes.go @@ -149,11 +149,13 @@ type KubernetesClusterConfig struct { // KubernetesClusterPoolConfig is used to create a new cluster pool type KubernetesClusterPoolConfig struct { - Region string `json:"region,omitempty"` - ID string `json:"id,omitempty"` - Count int `json:"count,omitempty"` - Size string `json:"size,omitempty"` - PublicIPNodePool bool `json:"public_ip_node_pool,omitempty"` + Region string `json:"region,omitempty"` + ID string `json:"id,omitempty"` + Count int `json:"count,omitempty"` + Size string `json:"size,omitempty"` + Labels map[string]string `json:"labels,omitempty"` + Taints []corev1.Taint `json:"taints"` + PublicIPNodePool bool `json:"public_ip_node_pool,omitempty"` } // KubernetesPlanConfiguration is a value within a configuration for