Skip to content

Commit

Permalink
Merge pull request #178 from civo/feature/lables_tains
Browse files Browse the repository at this point in the history
Update KubernetesClusterPoolConfig struct with Labels and Taints
  • Loading branch information
uzaxirr committed Mar 18, 2024
2 parents 962532a + a1fa5d1 commit 80038af
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ jobs:
test:
strategy:
matrix:
go-version: [1.17.x, 1.18.x]
go-version: [1.20.x, 1.21.x]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
Expand Down
12 changes: 7 additions & 5 deletions kubernetes.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 80038af

Please sign in to comment.