-
Notifications
You must be signed in to change notification settings - Fork 86
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
flux_bootstrap_git
optionnaly commit files
#399
Comments
This goes against what we've designed bootstrap for, bootstrap means that Flux manages itself from Git, if you don't push the manifests to Git than you don't need to use the |
Alright, as long as Another resource is planed to bootstrap without creating a commit? (I feel like I've reached the https://xkcd.com/1172/ point 🤣) |
So I actually started working on a flux_install resource before I built the flux_bootstrap resource thinking it would be easier. There are some challenges building flux_install resource in regards to tracking diffs. I do not think it is impossible but it is not something I am giving priority to currently. Can I ask what your use case is? |
Example workflow:I want to test and maybe create a merge request for the new ✨ I create a new terraform workspace for one of my cluster recipe. I setup this workspace to deploy from my working branch (in terraform cloud + add some providers variables).
Then I can work on my new feature, upgrade … at the end a do a destroy plan on my first workspace to remove everything. Why did we designed it like that?I had a bad experiment with the management of a single tree with multiple clusters. Today and regarding the current issue, I wonder if will create a manifest directory isolated by cluster, even if they are the same, even if it's temporary, or something else. Some questions that should go to the docOn bootstrap |
So this would not work with the current resource. It cheats by only making changes to the git repository, as it is a lot easier to track files in git than it is to track resources in Kubernetes. So it is not possible to have it only update Kubernetes. This is why I said that it would be better to implement a new resource called |
For what is worth, we have another use case for the We use the Weave GitOps Terraform Controller to provision and manage Kubernetes clusters on several cloud providers. Each Unfortunally, Terraform doesn't support creating a Kubernetes cluster and using it in a single
To work around this limitation and keep everything in a single Terraform module so that
We don't currently have an use for the new |
Hello,
I suggest the following improvement: add a flag to disable the commit to the git repository and only push resources to the kubernetes cluster.
Regards,
The text was updated successfully, but these errors were encountered: