The example is however out of date with the new Flux controller standards that are currently in the process of being rolled out (https://github.com/fluxcd/flux2/issues/1601).
We need to make the example controller more complex, to help people understand how to use pkg/runtime. Must contain in-code documentation. This is a pre-step for updating the guide.
We already have an example controller that consumes the GitOps Toolkit Source APIs fluxcd/source-watcher. This accompanies the Watching for source changes Flux guide.
The example is however out of date with the new Flux controller standards that are currently in the process of being rolled out (https://github.com/fluxcd/flux2/issues/1601).
We need to make the example controller more complex, to help people understand how to use pkg/runtime. Must contain in-code documentation. This is a pre-step for updating the guide.