Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 584 Bytes

README.md

File metadata and controls

29 lines (22 loc) · 584 Bytes

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