Skip to content

Add resources to CSV#90

Merged
openshift-merge-bot[bot] merged 1 commit intoopenstack-lightspeed:mainfrom
lpiwowar:lpiwowar/scorecard-resource
Feb 19, 2026
Merged

Add resources to CSV#90
openshift-merge-bot[bot] merged 1 commit intoopenstack-lightspeed:mainfrom
lpiwowar:lpiwowar/scorecard-resource

Conversation

@lpiwowar
Copy link
Contributor

Add resources section to ClusterServiceVersion describing the resources managed by the OpenStackLightspeed CR. This fixes the olm-crds-have-resources-test scorecard check [1].

[1] https://sdk.operatorframework.io/docs/testing-operators/scorecard/

Before the fix

$ operator-sdk scorecard ./bundle
...
--------------------------------------------------------------------------------
Image:      quay.io/operator-framework/scorecard-test:v1.38.0
Entrypoint: [scorecard-test olm-crds-have-resources]
Labels:
	"suite":"olm"
	"test":"olm-crds-have-resources-test"
Results:
	Name: olm-crds-have-resources
	State: fail

	Errors:
		Owned CRDs do not have resources specified
	Log:
		Loaded ClusterServiceVersion: openstack-lightspeed-operator.v0.0.1
...

Note

It is recommended to run these tests as part of the community-operators pipeline. If we do not fix this then these tests will fail.

Add resources section to ClusterServiceVersion describing the resources
managed by the OpenStackLightspeed CR. This fixes
the olm-crds-have-resources-test scorecard check [1].

[1] https://sdk.operatorframework.io/docs/testing-operators/scorecard/
@openshift-ci openshift-ci bot requested review from Akrog and umago February 19, 2026 13:01
@openshift-ci
Copy link

openshift-ci bot commented Feb 19, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: lpiwowar

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@umago
Copy link
Contributor

umago commented Feb 19, 2026

/approved

Looks good

@umago
Copy link
Contributor

umago commented Feb 19, 2026

/lgtm

@openshift-ci openshift-ci bot added the lgtm label Feb 19, 2026
@openshift-merge-bot openshift-merge-bot bot merged commit d701bf4 into openstack-lightspeed:main Feb 19, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants