-
Notifications
You must be signed in to change notification settings - Fork 95
Open
Description
Description
As a platform builder managing multiple clusters,
I need to create, manage and destroy multiple dynamic clusters without instantiating multiple flux providers, while using a kubeconfig provided from a data or resource source.Given the complexities of Terraform providers in modules, it would allow ease of use to provide a kubeconfig on bootstrap.
TLDR;
provide kube_config and kube_config_path fields in bootstrap_git if not given in provider config.
Affected Resource(s) and/or Data Source(s)
bootstrap_git
Potential Terraform Configuration
resource "flux_bootstrap_git" "this" {
path = "clusters/${var.cluster}"
components_extra = ["image-reflector-controller", "image-automation-controller"]
kube_config = some_provider.kubernetes.kubeconfig # OR
kube_config_path = "./some/path/here"
}References
No response
Would you like to implement a fix?
None
Metadata
Metadata
Assignees
Labels
No labels