GitOps Toolkit controller that scans container registries
Go to file
Kaden Nelson 518a846596
Add a finalizer to the ImagePolicy and ImageRepository resources
Fixes https://github.com/fluxcd/image-reflector-controller/issues/225

This PR adds a finalizer to the ImagePolicy and ImageRepository resources. This is to properly record the Deleted reconciliation status when the object is deleted from the cluster. Without this change, the resource would be deleted before the image reflector controller has a chance to properly report the resource's status in the metrics. As a result, end-users may see falsely reported metrics.

Signed-off-by: Kaden Nelson <kaden_l_nelson@apple.com>
2022-06-24 10:57:19 +03:00
.github/workflows Update GH Actions 2022-05-26 19:33:27 +01:00
api Add a finalizer to the ImagePolicy and ImageRepository resources 2022-06-24 10:57:19 +03:00
config Release v0.19.1 2022-06-08 12:51:15 +03:00
controllers Add a finalizer to the ImagePolicy and ImageRepository resources 2022-06-24 10:57:19 +03:00
docs Add apis/acl to API docs gen 2022-06-08 12:04:20 +03:00
hack Add apis/acl to API docs gen 2022-06-08 12:04:20 +03:00
internal Avoid global gomega Expect() usage 2022-04-19 20:30:27 +05:30
tests/fuzz fuzz: fix dependency issue 2022-06-08 12:39:22 +03:00
.gitignore add tests to check exclusionList 2022-05-11 15:17:28 +05:30
.goreleaser.yaml Publish SBOM and sign release artifacts 2022-01-25 15:17:42 +02:00
CHANGELOG.md Release v0.19.1 2022-06-08 12:51:15 +03:00
CODE_OF_CONDUCT.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
DEVELOPMENT.md Add instructions to development doc 2022-01-05 17:13:13 -05:00
Dockerfile Update Alpine to v3.16 2022-05-27 12:29:15 +03:00
LICENSE Create LICENSE 2020-07-08 07:28:44 +01:00
MAINTAINERS Move squaremo to retired maintainers 2022-02-02 14:12:53 +00:00
Makefile Add `exclusionList` to enable excluding tags based on regex. 2022-05-10 13:45:06 +05:30
PROJECT Graduate v1alpha2 API to v1beta1 2021-06-24 15:50:11 +01:00
README.md update toolkit.f.i docs links 2022-04-01 10:25:00 +02:00
go.mod Release v0.19.1 2022-06-08 12:51:15 +03:00
go.sum Update dependencies 2022-06-08 12:29:27 +03:00
main.go use new standardized runtime and meta package 2022-03-18 00:10:18 +05:30

README.md

Image (metadata) reflector controller

CII Best Practices report license release

This is a controller that reflects container image metadata into a Kubernetes cluster. It pairs with the image update automation controller to drive automated config updates.

Installing

Please see the installation and use guide.

If you just want to run this controller for development purposes, do

kustomize build github.com/fluxcd/image-reflector-controller//config/default/?ref=main | kubectl apply -f-