Commit Graph

24 Commits

Author SHA1 Message Date
Hidde Beydals 8ef62fabd9 Release v0.10.0
Signed-off-by: Hidde Beydals <hello@hidde.co>
2021-05-26 15:21:47 +02:00
Stefan Prodan c71ea97d62
Release v0.9.1
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-05-06 16:26:03 +03:00
Hidde Beydals bad04cfbd9 Release v0.9.0
Signed-off-by: Hidde Beydals <hello@hidde.co>
2021-04-22 10:35:48 +02:00
Stefan Prodan 1332f65372
Release v0.8.0
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-04-06 17:27:40 +03:00
Stefan Prodan e116663fe7
Release v0.7.0
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-03-17 12:56:30 +02:00
Hidde Beydals 00293211fd Release v0.6.1
Signed-off-by: Hidde Beydals <hello@hidde.co>
2021-02-25 16:15:51 +01:00
Stefan Prodan 22cb8a23f1
Release v0.6.0
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-02-24 16:22:23 +02:00
Hidde Beydals a58b357bb4 Release v0.5.0
Signed-off-by: Hidde Beydals <hello@hidde.co>
2021-02-12 13:17:50 +01:00
Stefan Prodan 1e48cd3665
Update Alpine to v3.13
- set fsGroup to allow AWS IAM Role bindings
- fix the group assignment in Alpine
- bump Alpine to 3.13

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-02-08 11:36:57 +02:00
Hidde Beydals 7ffd8f1577 Release v0.4.0
Signed-off-by: Hidde Beydals <hello@hidde.co>
2021-01-22 12:40:22 +01:00
Stefan Prodan 06e785d7f1
Release v0.3.1
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-01-18 15:20:19 +02:00
Hidde Beydals cd7c843a6d Release v0.3.0
Signed-off-by: Hidde Beydals <hello@hidde.co>
2021-01-15 10:16:58 +01:00
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
Stefan Prodan fed3cca2e5
Release v0.2.0
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-01-06 11:06:26 +02:00
Michael Bridgen 45219cb4d7 Pin deployment version to v0.1.0
Signed-off-by: Michael Bridgen <michael@weave.works>
2020-12-10 13:32:43 +00:00
Michael Bridgen 3666b91366 Change config/ to be in line with GOTK
Broadly,

 - remove prometheus, webhooks and certificate handling
 - use standard names and filenames
 - don't authenticate the metrics endpoint

Signed-off-by: Michael Bridgen <michael@weave.works>
2020-11-23 17:15:05 +00:00
Michael Bridgen 311ca212c5 Give controller liveness and readiness endpoints
- make the healthz endpoint a flag and give the value to the
   controller runtime
 - set up probe endpoints; copy the func from elsewhere for now
 - add the probe defs to the deployment

Signed-off-by: Michael Bridgen <michael@weave.works>
2020-11-23 13:44:12 +00:00
Michael Bridgen 5bd0bc8cba Set logger up with log level and JSON flags
This is the GitOps Toolkit convention.  This commit also puts the
flags in the base deployment config, in the same order as for other
GOTK controllers.

Signed-off-by: Michael Bridgen <michael@weave.works>
2020-11-23 12:54:15 +00:00
Stefan Prodan 38b4eb2fe9
Enable multi-arch build
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2020-10-22 17:30:58 +03:00
Michael Bridgen ab4a963d50 Change package name and fixup imports and paths 2020-08-10 18:09:57 +01:00
Michael Bridgen a5f891c919 Watch gitrepositories and imagepolicies
An ImageUpdateAutomation refers to a git repository and may refer to
an image policy. Watch both of these kinds, and react to either
changing by queueing any automations that refer to them.
2020-08-02 21:27:09 +01:00
Michael Bridgen c4e94d2b17 Change name of deployment 2020-07-23 18:20:35 +01:00
Michael Bridgen 258468cf14 Give the image and configs less generic names 2020-07-21 12:26:24 +01:00
Michael Bridgen baf50cd4fc Initialise controller scaffolding
go mod init github.com/squaremo/image-automation-controller
    kubebuilder init --domain=fluxcd.io
    $EDITOR hack/boilerplate.go.txt
2020-07-18 15:23:13 +01:00