GitOps Toolkit controller that patches container image tags in Git
Go to file
Paulo Gomes a980b894e0
Block the creation of empty commits
In specific cases, the update mechanism may lead to no files being
changed. The changes short-circuit the process to exit early when
0 files have been modified.

go-git has been changed to return an error when an empty commit
is detected, which is used as a last resort.

When the push branch is different than the clone branch, the controller
will now download all branch references from the Git server, in order
to enable a single fetch operation.

Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
2022-12-20 10:11:22 +00:00
.github/workflows build: Bump CI to macos-11 2022-09-29 07:19:35 +01:00
api Update dependencies 2022-11-18 17:01:42 +00:00
config Release v0.27.0 2022-11-21 10:49:42 +00:00
controllers Block the creation of empty commits 2022-12-20 10:11:22 +00:00
docs libgit2: Update documentation 2022-12-09 13:43:22 +00:00
hack build: Remove unused scripts 2022-12-09 13:43:23 +00:00
internal/features features: Remove ForceGoGitImplementation 2022-12-09 13:43:24 +00:00
pkg Build with Go 1.19 2022-09-28 18:38:55 +03:00
tests/fuzz libgit2: Remove libgit2 from fuzzers 2022-12-09 11:51:44 +00:00
.dockerignore libgit2: Remove references to libgit2 from code 2022-12-09 11:30:55 +00:00
.gitignore build: Remove unused scripts 2022-12-09 13:43:23 +00:00
.goreleaser.yaml Publish SBOM and sign release artifacts 2022-01-25 15:24:18 +02:00
CHANGELOG.md Release v0.27.0 2022-11-21 10:49:42 +00:00
CODE_OF_CONDUCT.md Add license, DCO and COC 2020-08-11 10:26:03 +03:00
DCO Add license, DCO and COC 2020-08-11 10:26:03 +03:00
DEVELOPMENT.md libgit2: Update documentation 2022-12-09 13:43:22 +00:00
Dockerfile libgit2: Update documentation 2022-12-09 13:43:22 +00:00
LICENSE Add license, DCO and COC 2020-08-11 10:26:03 +03:00
MAINTAINERS Add pjbgf to Maintainers 2022-02-17 11:23:12 +00:00
Makefile libgit2: Remove references to libgit2 from code 2022-12-09 11:30:55 +00:00
PROJECT Remove deprecated alpha APIs 2022-11-16 17:22:51 +02:00
README.md libgit2: Update documentation 2022-12-09 13:43:22 +00:00
go.mod Block the creation of empty commits 2022-12-20 10:11:22 +00:00
go.sum Block the creation of empty commits 2022-12-20 10:11:22 +00:00
main.go libgit2: Remove references to libgit2 from code 2022-12-09 11:30:55 +00: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

For additional information on dependecies and how to contribute please refer to DEVELOPMENT.md.