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> |
||
---|---|---|
.github | ||
api | ||
config | ||
docs | ||
hack | ||
internal | ||
tests | ||
.gitignore | ||
.goreleaser.yaml | ||
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 (metadata) reflector controller
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-