GitOps Toolkit controller that scans container registries
Go to file
Rishi fff22d9200 Improve accuracy of filter_test.go
This commit will improve the accuracy of `filter_test.go` unit tests.

Before reflect.DeepEqual was used to check equality between slices,
but `f.filtered` and `sort.StringSlice` aren't comparable.
There was also a bug where `reflect.DeepEqual`
was returning `false` but the test did not fail due to wrong `if` check.

Use gomega to simplify assertions.

Signed-off-by: Rishi <rishnai1@in.ibm.com>
2023-11-02 02:09:20 +05:30
.github build(deps): bump the ci group with 2 updates 2023-10-30 21:44:11 +00:00
api build(deps): bump golang.org/x/net from 0.10.0 to 0.17.0 in /api 2023-11-01 08:29:54 +00:00
config Release v0.30.0 2023-08-23 17:56:11 +02:00
docs imagrepo: add docs for TLS secrets 2023-08-23 19:27:05 +05:30
hack Align docs structure with other controllers 2023-07-28 09:22:17 +02:00
internal Improve accuracy of filter_test.go 2023-11-02 02:09:20 +05:30
tests build(deps): bump github.com/docker/docker in /tests/integration 2023-10-30 18:01:00 +00:00
.gitignore Set controller package name 2023-05-30 18:16:42 +05:30
.goreleaser.yaml Add SLSA3 generators to release workflow 2023-06-22 15:26:12 +03:00
CHANGELOG.md Release v0.30.0 2023-08-23 17:56:11 +02: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 update to new doc links structure 2022-08-30 14:55:10 +02:00
Dockerfile Remove the tini supervisor 2023-05-24 11:20:43 +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 Align docs structure with other controllers 2023-07-28 09:22:17 +02:00
PROJECT Introduce v1beta2 API 2023-02-09 03:41:16 +05:30
README.md update to new doc links structure 2022-08-30 14:55:10 +02:00
go.mod build(deps): bump github.com/cyphar/filepath-securejoin 2023-11-01 08:52:50 +00:00
go.sum build(deps): bump github.com/cyphar/filepath-securejoin 2023-11-01 08:52:50 +00:00
main.go Add a common finalizer for the reconcilers 2023-08-16 16:24:29 +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-