* Bump to golang-with-libgit2:1.1.1.6 to speed up build time when cross compiling. Previous version was compiling in emulation mode instead, which added +10x overhead. * Ensure that make test is executed against the exact same libraries that will be shipped on the built image. * Simplify Makefile to reduce its complexity. * Libgit2 behaviour: linux-amd64 download static libraries from the official container image. linux-arm64 on top of the above, requires static musl tool chain (automatically downloaded). darwin-amd64 and darwin-arm64 download universal static libraries for darwin from https://github.com/fluxcd/golang-with-libgit2 releases. Co-authored-by: Paulo Gomes <paulo.gomes@weave.works> Signed-off-by: Sanskar Jaiswal <sanskar.jaiswal@weave.works> |
||
---|---|---|
.github/workflows | ||
api | ||
config | ||
controllers | ||
docs | ||
hack | ||
pkg | ||
.dockerignore | ||
.gitignore | ||
.goreleaser.yaml | ||
ATTRIBUTIONS.md | ||
CHANGELOG.md | ||
CODE_OF_CONDUCT.md | ||
DCO | ||
DEVELOPMENT.md | ||
Dockerfile | ||
LICENSE | ||
MAINTAINERS | ||
Makefile | ||
PROJECT | ||
README.md | ||
go.mod | ||
go.sum | ||
main.go |
README.md
Image automation controller
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/DEVELOPMENT.md#installing-required-dependencies
for instructions on how to install libgit2
.