alessiodionisi / terraform-provider-k0s

Terraform provider to create and manage k0s Kubernetes clusters, using embedded k0sctl
https://registry.terraform.io/providers/alessiodionisi/k0s
Apache License 2.0
23 stars 8 forks source link

Pass KeyPath to k0s_rig.SSH #51

Closed akosiaris closed 1 year ago

akosiaris commented 1 year ago

Why:

The apparent intent is to allow configuring private key path, but the call to k0s_rig.SSH wasn't passing it.

What: Pass KeyPath to k0s_rig.SSH in the getK0sctlConfig() function

This fixes #42

alessiodionisi commented 1 year ago

Thank you for the PR!