k8s-operatorhub / operatorhub.io

The OperatorHub.io website
Apache License 2.0
17 stars 12 forks source link

OperatorHub.io Custom Resource Definitions tiles should default to the CRD name and description #2

Open dmesser opened 3 years ago

dmesser commented 3 years ago

This issue was copied from: https://github.com/operator-framework/community-operators/issues/4179

The CRD tiles at https://operatorhub.io/operator/cert-manager are all marked "Name Not Available" and "No description available" but the bundle does have this information.

Name: https://github.com/operator-framework/community-operators/blob/88a90d6c7e5efb7705e28849a5e4692ee6a308b6/upstream-community-operators/cert-manager/1.4.0/manifests/cert-manager.io_certificates.yaml#L30

Description: https://github.com/operator-framework/community-operators/blob/88a90d6c7e5efb7705e28849a5e4692ee6a308b6/upstream-community-operators/cert-manager/1.4.0/manifests/cert-manager.io_certificates.yaml#L789-L792

I think OperatorHub.io should use those values as defaults

I know I'm supposed to add displayName and description to the CSV file but that seems redundant:

https://github.com/operator-framework/api/blob/1329f80c543878c64163210f22919af9b454a9f8/pkg/operators/v1alpha1/clusterserviceversion_types.go#L119-L120

image