scorecard-operator

command module
v0.0.0-...-19412b7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 22, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
api
v1alpha1
Package v1alpha1 contains API Schema definitions for the scorecard v1alpha1 API group +kubebuilder:object:generate=true +groupName=scorecard.operatorframework.io
Package v1alpha1 contains API Schema definitions for the scorecard v1alpha1 API group +kubebuilder:object:generate=true +groupName=scorecard.operatorframework.io

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL