Skip to content

Commit

Permalink
Merge pull request #8 from silvioincalza/main
Browse files Browse the repository at this point in the history
[bugfix] wrong instance type on create worker node definition
  • Loading branch information
janosmiko authored Nov 10, 2023
2 parents f34a058 + 56f0055 commit 893b259
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/k3s/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ func (c *Client) workerNodePoolDefinitions(workerNodePool *configpkg.WorkerConfi
"%s-%s-pool-%s-worker%d", c.clusterName(), workerNodePool.InstanceType,
workerNodePool.Name, i+1,
),
ServerType: &hcloud.ServerType{Name: c.masterInstanceType()},
ServerType: &hcloud.ServerType{Name: workerNodePool.InstanceType},
SSHKeys: []*hcloud.SSHKey{c.sshKey()},
Networks: []*hcloud.Network{c.network()},
Firewalls: []*hcloud.ServerCreateFirewall{{Firewall: *c.firewall()}},
Expand Down

0 comments on commit 893b259

Please sign in to comment.