operator-sdk icon indicating copy to clipboard operation
operator-sdk copied to clipboard

Exposing verbosity in scorecard kuttl tests

Open jmrodri opened this issue 3 years ago • 0 comments

Feature Request

Describe the problem you need a feature to resolve.

Passing in --verbose to scorecard there is no way to get the debug logs. We aren't passing -v in the entrypoint. https://github.com/operator-framework/operator-sdk/blob/master/images/scorecard-test-kuttl/entrypoint#L6-L9

kuttl has the verbosity option:

[jesusr@transam operator-sdk{kuttl}]$ kubectl kuttl test --help
[...]

Flags:
      --artifacts-dir string          Directory to output kind logs to (if not specified, the current working directory).
      --attach-control-plane-output   Attaches control plane to stdout when using --start-control-plane.
[...]
      --timeout int                   The timeout to use as default for TestSuite configuration. (default 30)
  -v, --v                             Logging verbosity level. 0=normal, 1=verbose, 2=detailed, 3+=trace.

Describe the solution you'd like.

See the debug logs from kuttl test runs.

jmrodri avatar Sep 06 '22 03:09 jmrodri