-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test(scorecard): add Scorecard test for Cryostat install #540
Conversation
Signed-off-by: Elliott Baron <ebaron@redhat.com>
Maybe I just need to keep waiting but it seems like it's stuck and no more output is coming:
|
I think this is probably caused by not having cert-manager installed in the cluster. It should be an easy fix by making the |
Ah, that could be it. I don't remember if I had installed cert-manager on that cluster yet. I'll try again now. |
Looks like that was indeed it, I created a new |
Signed-off-by: Elliott Baron <ebaron@redhat.com>
I just pushed one line commit to add the |
This PR adds a new custom scorecard test that creates a default Cryostat CR and ensures that the operator brings up an
Available
Cryostat deployment. It then checks that the application URL field has been set in the CR's status.In order to have a client for these tests that works with CRs, I've added a new
CryostatClientset
that extendskubernetes.Clientset
with this extra functionality. This client can be used to work with both built-in objects and CRs.I have test images prepared to make testing a bit easier:
$ make test-scorecard CUSTOM_SCORECARD_IMG=quay.io/ebaron/cryostat-operator-scorecard:2.3.0-20230317182833 BUNDLE_IMG=quay.io/ebaron/cryostat-operator-bundle:cryostat-cr-scorecard-01
Example output for the new test:
Fixes: #456