You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We've been delaying the upgrade to controller-runtime v0.12 due to the changes to structured logging. I think it's time to align the Flux controllers logs with Kubernetes, even if the new logging format is more verbose.
Current format (flux2 v0.33.0):
{
"level": "info",
"ts": "2022-08-23T09:35:20.723+0300",
"msg": "no changes since last reconciliation",
"logger": "controller.gitrepository",
"reconciler group": "source.toolkit.fluxcd.io",
"reconciler kind": "GitRepository",
"namespace": "default",
"name": "podinfo"
}
We've been delaying the upgrade to controller-runtime v0.12 due to the changes to structured logging. I think it's time to align the Flux controllers logs with Kubernetes, even if the new logging format is more verbose.
Current format (flux2 v0.33.0):
New format:
Breaking changes
These fields have been renamed:
logger
->controller
reconciler group
->controllerGroup
reconciler kind
->controllerKind
🗒️ Projects
Prerequisites
fluxcd/pkg
: update all packages to controller-runtime v0.12fluxcd/pkg/runtime
: release new Flux runtime package based on controller-runtime v0.12Controllers
Update
fluxcd/pkg/runtime
and remove our customreconcileID
in favour of the upstream one.fluxcd/notification-controller
(depends on prerequisites)fluxcd/image-reflector-controller
(depends on prerequisites)fluxcd/source-controller
(depends on prerequisites)fluxcd/kustomize-controller
(depends onfluxcd/source-controller
)fluxcd/helm-controller
(depends onfluxcd/source-controller
)fluxcd/image-automation-controller
(depends onfluxcd/source-controller
andfluxcd/image-reflector-controller
)CLI
fluxcd/flux2
: adaptflux logs
to the new format in a backwards compatible manner ( support bothreconciler kind
andcontrollerKind
)The text was updated successfully, but these errors were encountered: