image-automation-controller/config/rbac
Hidde Beydals 0531deaaed Upgrade controller-runtime to v0.7.0
This commit upgrades the `controller-runtime` dependency to `v0.7.0`,
including all changes required to make all wiring work again.

- Upgrade `runtime` to v0.6.2 to include `controller-runtime` changes.
- Logger has been removed from the reconciler, and is now retrieved
  from the `context.Context` passed to the `Reconcile` method and
  downwards functions.
- Logger configuration flags are now bound to the flag set using
  `BindFlags` from `runtime/logger`, ensuring the same contract across
  GitOps Toolkit controllers, and the `--log-json` flag has been
  deprecated in favour of the `--log-encoding=json` default.
- The `ChangePredicate` from `runtime` has changed to a
  `ReconcileRequestedPredicate`, and is now chained with the
  `GenerationChangedPredicate` from `controller-runtime` using
  `predicate.Or`.
- Signatures that made use of `runtime.Object` have changed to
  `client.Object`, removing the requirement to e.g. call
  `runtime.Object#Object`.
- The `leader-election-role` was changed, as leader election now works
  via the `coordination/v1` API.

Other notable changes:

- Upgrade of `image-reflector-controller` API package to include
  controller-runtime changes.
- Upgrade of `source-controller` API package to v0.6.1.

Signed-off-by: Hidde Beydals <hello@hidde.co>
2021-01-14 13:48:37 +01:00
..
imageupdateautomation_editor_role.yaml Change CRDs domain to 'image.toolkit.fluxcd.io' 2020-07-31 17:05:56 +02:00
imageupdateautomation_viewer_role.yaml Change CRDs domain to 'image.toolkit.fluxcd.io' 2020-07-31 17:05:56 +02:00
kustomization.yaml Change config/ to be in line with GOTK 2020-11-23 17:15:05 +00:00
leader_election_role.yaml Upgrade controller-runtime to v0.7.0 2021-01-14 13:48:37 +01:00
leader_election_role_binding.yaml Initialise controller scaffolding 2020-07-18 15:23:13 +01:00
role.yaml Change CRDs domain to 'image.toolkit.fluxcd.io' 2020-07-31 17:05:56 +02:00
role_binding.yaml Initialise controller scaffolding 2020-07-18 15:23:13 +01:00