Basic scorecard test not working #5232
Labels
language/go
Issue is related to a Go operator project
lifecycle/frozen
Indicates that an issue or PR should not be auto-closed due to staleness.
triage/support
Indicates an issue that is a support question.
Milestone
Bug Report
What did you do?
I am trying to implement the
basic-spec-check
test foroperator-sdk scorecard
onv0.18.2
. Please note that for my use case, operator-sdk versionv0.18.2
is a requirement; I am unable to use a newer version at this time.I am testing my
scorecard
implementation on the following cluster specs:In order to run
scorecard
, I created.osdk-scorecard.yaml
in the root with the following info:Then, in order to run the
scorecard
test, I installedoperator-sdk
v0.18.2
and ran thescorecard
test. Note this is a fresh cluster, so no CRDs exists on the cluster at the moment.After running the above, however, the following error is returned:
I figured maybe this might be happening because I was using the old
osdk-scorecard.yaml
method to runscorecard
, instead of the newerconfig.yaml
method. To attempt all possibilities, I tried the newerconfig.yaml
method as well, but ran into a separate (different)panic
error.I ran the below command:
and got the following
panic
error:As you can see, neither method worked properly.
What did you expect to see?
I expect to see the
scorecard
basic-spec-check
test run successfully.What did you see instead? Under which circumstances?
Unfortunately, as described above, neither of the two possible methods to invoke the
scorecard
test worked properly.Environment
Operator type:
/language go
Kubernetes cluster type:
Openshift$ operator-sdk version
$ go version
(if language is Go)$ kubectl version
Possible Solution
N/A
Additional context
N/A
The text was updated successfully, but these errors were encountered: