Upgrade pkg/runtime
and controllers to controller-runtime v0.7.0
#613
Labels
enhancement
New feature or request
pkg/runtime
and controllers to controller-runtime v0.7.0
#613
controller-runtime
v0.7.0 was released last Friday, and we have been eagerly waiting for some of the newly introduced features like the context with logger, and a bug fix for the issue described in fluxcd/kustomize-controller#214.Changes that will likely affect us
Breaking changes
See release notes for details, as this includes changes to the events used in e.g. predicates.
High impact
We propagate the context and a logger in all controllers at the moment, this can now simply be changed to just the context.
leader-election-role
manifests require an update.Other notable changes
This means that things like
can now be changed to
Means our logic in
runtime/logger
can likely be simplified and re-use logic from thesigs.k8s.io/controller-runtime/pkg/log/zap
package.Nothing to do here, but 🎉 💯
Nothing to do here, but worth investigating to provide configuration alternatives.
To-do
pkg/runtime
The text was updated successfully, but these errors were encountered: