Skip to content

GiuseppeChiesa-TomTom/trivy-enforcer

 
 

Repository files navigation

trivy-enforcer

EXPERIMENTAL

Kubernetes Operator for Image Assurance

It works as

  • Admission Controller
    • protecting unsafe images from being deployed
  • Custom Controller
    • watching ImageVulnerability CRD and scanning the image in the custom resource automatically

Setup

$ kubectl apply -f manifests/opa.yaml
$ kubectl apply -f manifests/cert-manager.yaml
$ export IMG=your_account/controller:latest
$ make docker-push
$ make deploy

Development

$ kubectl apply -f manifests/opa.yaml
$ kubectl apply -f manifests/cert-manager.yaml
$ skaffold dev

About

[EXPERIMENTAL] Kubernetes Operator for Image Assurance

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 85.8%
  • Makefile 7.1%
  • Open Policy Agent 4.0%
  • Dockerfile 3.1%