fluxcd / terraform-provider-flux

Terraform and OpenTofu provider for bootstrapping Flux

Home Page:https://registry.terraform.io/providers/fluxcd/flux/latest

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Enhancement]: Improve provider documentation

swade1987 opened this issue · comments

Description

I want to improve the provider documentation on the Terraform registry website.
Please add comments on what you would like covered.

Affected Resource(s) and/or Data Source(s)

No response

Potential Terraform Configuration

No response

References

⚠️ Warning ⚠️
Please note that the new documentation (once released) will be the current contents of the docs directory here.
Please use this directory's contents when making suggestions.
I have deleted all guides and have created a suite of new examples available here

Would you like to implement a fix?

Yes

Thanks for asking for input. Apologies if this is not the right place for this 😊

When looking at the current example in the docs directory I noticed that they all seem create a new Git repository. This is great for a working example 👍 (it also creates a kind cluster)

I have a mono-repo with several clusters already set up with Flux (using the CLI). Now I'm looking to use flux_bootstrap_git to add a new cluster to this existing repository (in a new directory I've set up for this cluster). An example on how to use the provider to bootstrap a new cluster with an existing repository would be helpful for me, and hopefully others as well.