Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
avekrivoy opened this issue Jan 10, 2025 · 0 comments

Comments

@avekrivoy
Copy link

avekrivoy commented Jan 10, 2025

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant