Support custom tools for file reconcilation #2967
Replies: 3 comments 3 replies
-
Flux does not run external binaries; if you want this behavior in your CI workflow then it will have to run in a CI environment. If your resources can be applied to the cluster in a declarative way (if istioctl has an You can either do it in CI (the CI workflow can run the tasks) or you can use something like Terraform Controller and load those binaries into your runner pods – only the AWS cli is included for now as I understand it. You will be able to accomplish this if you build your own runner pods, (but I believe the security is locked down by default so that you should not be able to load binaries into the container image at runtime with an initContainer for example) |
Beta Was this translation helpful? Give feedback.
-
Isn't this behaviour is skewed, we implemented terraform controller mostly because some maintainers needed it but what if one needed a CDK/cloudformation/pulumi controller etc... Shouldn't we find a way for the community to adopt and extend flux with the right set of APIs/extensions. |
Beta Was this translation helpful? Give feedback.
-
@kingdonb thanks for a details reply, I do understand the challenges and the alternative strategies. There are few questions I am really puzzled about how to proceed though. But before I shoot let me give the context of our setup. Our current setup is divided in three phases
I am mostly looking for strategies where we can automate the I am really looking for any advises/links on how to handle the tasks in a pure gitops philosophy. |
Beta Was this translation helpful? Give feedback.
-
This proposal is to make flux expand its tooling for custom configuration files. There are multiple projects which are providing a custom configuration file e.g.
So far we can provide a hint to flux which tool to use for applying whether it's kubectl/kustomize/helm/terraform.... by creating its own controller, but it has its own challenges and further the integration of new controller to a runtime binary is not well document.
Can we introduce a way to extend the flux controller for this specific use case, there are multiple options
Please share if there are any existing ways of doing this...
Beta Was this translation helpful? Give feedback.
All reactions