remche / terraform-openstack-rke2

Deploy Kubernetes on OpenStack with RKE2
Mozilla Public License 2.0
48 stars 29 forks source link

ssh_keypair_name and ssh_key_file variable logical conflict when write_kubeconfig is set true ? #62

Closed slavikos closed 8 months ago

slavikos commented 1 year ago

I'm very new to terraform and also this very module, but I believe there is "logic conflict" issue in the write_kubeconfig resource in controlplane/kubernetes.tf which fails when trying to connect to the server node because it "silently" uses the ssh_key_file variable even if the ssh_keypair_name variable is set.

remche commented 1 year ago

@slavikos thanks for the feedback. Just to be sure, could you provide a minimal failing setup ?

stale[bot] commented 11 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.