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
Additional context
Scorecard command was run as part of the CVP operator pipeline and replicated locally using a testing OCP 4.1.8 cluster provisioned with AWS.
The text was updated successfully, but these errors were encountered:
dirgim
changed the title
Issue when running scorecard on the cert-utils-operator deployed woth OLM
Issue when running scorecard on the cert-utils-operator deployed with OLM
Aug 5, 2019
@dirgim the scorecard (incorrectly) assumes that if metadata.annotations["alm-examples"] is present it will be non-empty. Your CSV's corresponding field is empty, causing an index panic. I'll make a PR to fix this.
@dirgim#1789 fixes the panic. Note that you will still have to add CR examples to metadata.annotations['alm-examples'] in your CSV or set the cr-manifest scorecard config option to run the scorecard like so:
Bug Report
What did you do?
Running the following command on the operator metadata for the
cert-utils-operator
community operator in this pull request :What did you expect to see?
Standard human-readable output of the scorecard command.
What did you see instead? Under which circumstances?
The stderr we got was this:
Environment
v0.8.2
go1.11.6
Client Version: version.Info{Major:"1", Minor:"13+", GitVersion:"v1.13.4+785687c", GitCommit:"785687c", GitTreeState:"clean", BuildDate:"2019-07-24T19:44:04Z", GoVersion:"go1.11.6", Compiler:"gc", Platform:"linux/amd64"}
OCP v4.1.8 cluster
Server Version: version.Info{Major:"1", Minor:"13+", GitVersion:"v1.13.4+4b86cc5", GitCommit:"4b86cc5", GitTreeState:"clean", BuildDate:"2019-07-24T19:42:25Z", GoVersion:"go1.11.6", Compiler:"gc", Platform:"linux/amd64"}
Additional context
Scorecard command was run as part of the CVP operator pipeline and replicated locally using a testing OCP 4.1.8 cluster provisioned with AWS.
The text was updated successfully, but these errors were encountered: