Skip to content

joelanford/scorecard-operator

Repository files navigation

Scorecard Operator

Run Scorecard tests via an operator running in the cluster

Example

Create a bundle config map:

kubectl create configmap sample-bundle --from-file=bundle.tar.gz=testdata/bundle.tar.gz

Create a the CRDs and a sample test resource:

make install
kubectl apply -f ./config/samples/scorecard_v1alpha1_test.yaml

Run the operator:

make run

In another terminal, observe that the test object status has results when the test pod completes:

kubectl get tests.scorecard.operatorframework.io test-sample -o yaml

About

Run scorecard tests via an Operator!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published