Skip to content

[Feature] Generate Harvester cloud provider kubeconfig using terraform resource #1459

Description

@avekrivoy

Is your feature request related to a problem? Please describe.

According to the documentation, the first step in integrating the downstream Rancher cluster with the Harvester cloud provider is to create a service account in the Harvester cluster and "associate" kubeconfig with it. This kubeconfig has to be passed as argument to machine_selector_config block of a rancher2_cluster_v2 resource.

Service account must be created manually using an API call (curl). Would be nice to have a terraform resource that implements this feature

Describe the solution you'd like

Ideally, it would be great to have a resource that takes k8s cluster namespace and service account as parameters and returns kubeconfig associated with the service account.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/harvesterThis is related to Harvesterarea/provisioningThis seems to be related to provisioning a cluster within Rancher.internal/userThis is a problem identified by a user.kind/featureThis is requesting a new feature specifically for the provider.status/backlogThis issue is waiting for someone to be available to work it.team/provisioning

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions