phantomjinx opened a new issue #3022: URL: https://github.com/apache/camel-k/issues/3022
The following scorecard tests are missing from the [olm patch](https://github.com/apache/camel-k/blob/main/config/scorecard/patches/olm.config.yaml). These need to be incorporated to fully satisfy the OLM specification (and possible future gateway checks). - olm-status-descriptors - olm-crds-have-resources - olm-spec-descriptors Once these are included, they also need to pass. This will require the following markers to be added to the CRD code: - Spec descriptors that document important attributes in the spec of each CRD ``` // +operator-sdk:csv:customresourcedefinitions:type=spec // +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Task" Task string .... ``` - Status descriptors that document important attributes in the status of each CRD ``` // +operator-sdk:csv:customresourcedefinitions:type=status // +operator-sdk:csv:customresourcedefinitions:type=status,displayName="Phase" // +operator-sdk:csv:customresourcedefinitions:type=status,xDescriptors="urn:alm:descriptor:io.kubernetes.phase" Phase phase ... ``` - Descriptor that lists the resource types owned by the CRD ``` // +operator-sdk:csv:customresourcedefinitions:resources={{...}, {...}} type Build struct { ... ``` Since camelcatalog does not have a status attribute (its Status type is [empty](https://github.com/apache/camel-k/blob/main/pkg/apis/camel/v1/camelcatalog_types.go#L76)), it fails the scorecard test but cannot be remedied. An issue has been logged [here](https://github.com/operator-framework/operator-sdk/issues/5548). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org