GitOps Toolkit controller that scans container registries
Go to file
Michael Bridgen 155f6e948d Be consistent about returning an error
It's mooted in https://github.com/fluxcd/toolkit/discussions/164 that
a distinct metric is used for not completing reconciliation, as
opposed to an unexpected error. Until that discussion has run its
course, we should just do what the other controllers do, and that's
returning an error when the controller is unable to reconcile to
completion.

This also adds a comment noting the purpose of the redundant `Requeue:
true` fields, for the avoidance of confusion later.
2020-08-20 14:45:43 +01:00
.github/workflows Change branch trigger to new default 'main' 2020-07-31 15:22:27 +01:00
api/v1alpha1 Add image URL invalid reason 2020-08-15 08:38:57 +03:00
config Implement Ready condition for image repos 2020-08-12 16:38:43 +03:00
controllers Be consistent about returning an error 2020-08-20 14:45:43 +01:00
hack Reassign copyright to Flux project 2020-08-10 16:07:09 +01:00
.gitignore Ignore notes scratch file 2020-07-20 12:45:06 +01:00
CODE_OF_CONDUCT.md Add DCO, CoC and contributing docs 2020-08-11 10:27:03 +03:00
CONTRIBUTING.md Add DCO, CoC and contributing docs 2020-08-11 10:27:03 +03:00
DCO Add DCO, CoC and contributing docs 2020-08-11 10:27:03 +03:00
Dockerfile Use Alpine as base image 2020-08-11 08:45:44 +03:00
LICENSE Create LICENSE 2020-07-08 07:28:44 +01:00
MAINTAINERS Add DCO, CoC and contributing docs 2020-08-11 10:27:03 +03:00
Makefile Generate CRDs apiextensions.k8s.io/v1 2020-08-11 08:52:17 +03:00
PROJECT Change go module and rewrite imports 2020-08-10 16:10:50 +01:00
README.md Change go module and rewrite imports 2020-08-10 16:10:50 +01:00
go.mod Configure events dispatching 2020-08-11 11:19:03 +03:00
go.sum Configure events dispatching 2020-08-11 11:19:03 +03:00
main.go Configure events dispatching 2020-08-11 11:19:03 +03:00

README.md

Image (metadata) reflector controller

This is an attempt to build controllers along the lines set out in https://squaremo.dev/posts/gitops-controllers/.

This repository implements the image metadata reflector controller, which scans container image repositories and reflects the metadata, in Kubernetes resources. The sibling repository image-automation-controller implements the automation controller, which acts on the reflected data (e.g., a new image version) by updating the image references used in files in git.