GitOps Toolkit controller that patches container image tags in Git
Go to file
Hidde Beydals a3e9f69bd5 Switch to scratch based libgit2 container image
This moves the `libgit2` compilation to the image, to ensure it
can be build on builders that aren't backed by AMD64.

The image is structured in such a way that e.g. running nightly
builds targeting a different Go version, or targeting a different
OS vendor would be possible in the future via build arguments.

Signed-off-by: Hidde Beydals <hello@hidde.co>
2021-10-08 16:27:58 +02:00
.github Update github.com/libgit2/git2go to v31.6.1 2021-10-08 16:26:15 +02:00
api Switch to scratch based libgit2 container image 2021-10-08 16:27:58 +02:00
config Provide a sample of v1beta1 ImageUpdateAutomation 2021-09-16 17:40:57 +01:00
controllers Update github.com/libgit2/git2go to v31.6.1 2021-10-08 16:26:15 +02:00
docs Fix Typo: policiy -> policy 2021-07-14 12:54:13 +01:00
hack Generate docs for v1alpha2 2021-04-13 11:01:45 +01:00
pkg Use v1beta1 of the API from image reflector 2021-06-28 13:59:34 +01:00
.dockerignore Update github.com/libgit2/git2go to v31.6.1 2021-10-08 16:26:15 +02:00
.gitignore Update github.com/libgit2/git2go to v31.6.1 2021-10-08 16:26:15 +02:00
CHANGELOG.md Release 0.14.1 2021-08-05 17:55:18 +03:00
CODE_OF_CONDUCT.md Add license, DCO and COC 2020-08-11 10:26:03 +03:00
CONTRIBUTING.md Update dependencies 2021-06-10 10:40:28 +02:00
DCO Add license, DCO and COC 2020-08-11 10:26:03 +03:00
Dockerfile Switch to scratch based libgit2 container image 2021-10-08 16:27:58 +02:00
LICENSE Add license, DCO and COC 2020-08-11 10:26:03 +03:00
MAINTAINERS Note maintainers shared from fluxcd/flux2 2020-11-27 10:46:57 +00:00
Makefile Switch to scratch based libgit2 container image 2021-10-08 16:27:58 +02:00
PROJECT Graduate v1alpha2 API to v1beta1 2021-06-28 11:26:59 +01:00
README.md Add report, license and release badges to README 2021-04-22 10:37:29 +02:00
go.mod Switch to scratch based libgit2 container image 2021-10-08 16:27:58 +02:00
go.sum Switch to scratch based libgit2 container image 2021-10-08 16:27:58 +02:00
main.go Use v1beta1 of the API from image reflector 2021-06-28 13:59:34 +01:00

README.md

Image automation controller

CII Best Practices report license release

This controller automates updates to YAML when new container images are available.

Its sibling, image-reflector-controller, scans container image repositories and reflects the metadata in Kubernetes resources. This controller reacts to that image metadata by updating YAML files in a git repository, and committing the changes.

How to install it

Please see the installation and use guide.

How to work on it

The shared library libgit2 needs to be installed to test or build locally. The version required corresponds to the version of git2go (which are Go bindings for libgit2), according to this table.

See https://github.com/fluxcd/source-controller/blob/main/CONTRIBUTING.md#installing-required-dependencies for instructions on how to install libgit2.