You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: website/content/en/docs/cli/operator-sdk_scorecard.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,9 @@ operator-sdk scorecard [flags]
27
27
-l, --selector string label selector to determine which tests are run
28
28
-s, --service-account string Service account to use for tests (default "default")
29
29
-x, --skip-cleanup Disable resource cleanup after tests are run
30
+
-b, --storage-image string Storage image to use (default "docker.io/library/busybox@sha256:c71cb4f7e8ececaffb34037c2637dc86820e4185100e18b4d02d613a9bd772af")
30
31
-t, --test-output string Test output directory. (default "test-output")
32
+
-u, --untar-image string Untar image to use (default "registry.access.redhat.com/ubi8@sha256:910f6bc0b5ae9b555eb91b88d28d568099b060088616eba2867b07ab6ea457c7")
31
33
-w, --wait-time duration seconds to wait for tests to complete. Example: 35s (default 30s)
**Note**: By default, the gathered test output will be stored in `$(pwd)/test-output`.
253
253
254
+
### Overwrite storage and untar images
255
+
256
+
The `--storage-image` flag can be used when executing the `operator-sdk scorecard` command to overwrite the default busybox image used by scorecard pod.
257
+
The `--untar-image` flag can be used when executing the `operator-sdk scorecard` command to overwrite the default untar image used by scorecard pod.
258
+
These flags are useful when working in disconnected environment prevents image pull from external registries during scorecard job execution.
259
+
254
260
### Scorecard initContainer
255
261
256
262
The scorecard inserts an `initContainer` into the test pods it creates. The
0 commit comments