operator-sdk scorecard
operator-sdk scorecard
Runs scorecard
Synopsis
Has flags to configure dsl, bundle, and selector. This command takes one argument, either a bundle image or directory containing manifests and metadata. If the argument holds an image tag, it must be present remotely.
operator-sdk scorecard [flags]
Options
-c, --config string path to scorecard config file
-h, --help help for scorecard
--kubeconfig string kubeconfig path
-L, --list Option to enable listing which tests are run
-n, --namespace string namespace to run the test images in
-o, --output string Output format for results. Valid values: text, json, xunit (default "text")
--pod-security string option to run scorecard with legacy pod security context (default "legacy")
-l, --selector string label selector to determine which tests are run
-s, --service-account string Service account to use for tests (default "default")
-x, --skip-cleanup Disable resource cleanup after tests are run
-b, --storage-image string Storage image to be used by the Scorecard pod (default "quay.io/operator-framework/scorecard-storage@sha256:a3bfda71281393c7794cabdd39c563fb050d3020fd0b642ea164646bdd39a0e2")
-t, --test-output string Test output directory. (default "test-output")
-u, --untar-image string Untar image to be used by the Scorecard pod (default "quay.io/operator-framework/scorecard-untar@sha256:2e728c5e67a7f4dec0df157a322dd5671212e8ae60f69137463bd4fdfbff8747")
-w, --wait-time duration seconds to wait for tests to complete. Example: 35s (default 30s)
Options inherited from parent commands
--plugins strings plugin keys to be used for this subcommand execution
--verbose Enable verbose logging
SEE ALSO
Last modified May 16, 2023: Replace non-existing manifests and prevent them from changing in the future (#6425) (3159ef24)