Describe the bug
Is it possible to disable automated git syncing all together within Flux so that only manual sync via fluxctl sync command will update cluster configuration?
This would be useful in our production environments as we want to only deploy new configuration via a DevOps pipeline which uses fluxctl.
Expected behavior
Automated syncing of the git repository is disabled and only manual sync via fluxctl will roll out new configuration.
Additional context
You can set the sync interval to one year with: --sync-interval=525600m and --git-poll-interval=525600m
Be aware that any kind of update done through the API (e.g., using fluxctl lock) will trigger a git refresh, which will in general trigger a sync.
We should probably have an explicit flag for this.
This is a pretty big blocker in our adoption in using Flux, is there any proposed changes for this?
Really need to see this as an option, it makes non production environments impossible to test in because flux will just deploy conflicts directly to, for instance, a k8s cluster.
Most helpful comment
We should probably have an explicit flag for this.