As part of the refactor work to set out some standards for the controllers that are part of the Flux family, the pkg/runtime helpers and interfaces should be implemented to work with the conditions, metrics and events recorded for HelmRelease resources.
In short, (at least) the following should be implemented:
More examples can be found at:
As part of the refactor work to set out some standards for the controllers that are part of the Flux family, the
pkg/runtimehelpers and interfaces should be implemented to work with the conditions, metrics and events recorded for HelmRelease resources.In short, (at least) the following should be implemented:
HelmReleaseshould implement the interfaces fromconditions, and use this package to work with conditions.HelmReleaseReconcilershould implement the helpers fromcontroller, and use these to record Events and Metrics.HelmReleaseReconcilershould exit early without recording any status when.spec.suspendis defined.patchpackage should be implemented to (safely) patch resources without running into conflicts.kstatusReconcilingandStalledconditions should be properly implemented to provide better signals.More examples can be found at:
HelmRepositoryReconcilerto new standards source-controller#413