rancherlabs / terraform-harvester-equinix

Apache License 2.0
12 stars 10 forks source link

Add Harvester to Rancher Manager #6

Closed dnoland1 closed 1 year ago

dnoland1 commented 1 year ago

Add variable(s) for Rancher endpoint and keys/token. When present, terraform will create a "Harvester Cluster" in Rancher, including configuring Harvester with the Rancher cluster information. This will likely require both the Rancher2 and Harvester TF providers.

Use Rancher2 TF provider to create the Harvester cluster in Rancher (see https://registry.terraform.io/providers/rancher/rancher2/latest/docs)

Use the Harvester TF provider to register Harvester in Rancher (currently not a feature, need to open a GH issue to add this) see also https://docs.harvesterhci.io/v1.0/rancher/virtualization-management (need to set cluster-registration-ui).

dnoland1 commented 1 year ago

Was able to avoid adding Harvester TF provider by passing cluster registration URL in settings during bootstrap.