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 be used by the Scorecard pod (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 be used by the Scorecard pod (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 to prevent downloading the images from external registries
255
+
256
+
The following options are useful to prevent downloading the images from external registries during scorecard job execution.
257
+
That could be a case of disconnected environments or to prevent an impact of the external registry's pull limits.
258
+
- The `--storage-image` flag can be used when executing the `operator-sdk scorecard` command to overwrite the default `busybox` image used by the Scorecard pod.
259
+
- The `--untar-image` flag can be used when executing the `operator-sdk scorecard` command to overwrite the default untar image used by the Scorecard pod.
260
+
254
261
### Scorecard initContainer
255
262
256
263
The scorecard inserts an `initContainer` into the test pods it creates. The
0 commit comments