-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Description
Feature Request
Is your feature request related to a problem? Please describe.
Here are some fields in the CSV I've documented having to edit in my CSV after running gen-csv. These are all things I've found required by tools like operator-courier validate
and scorecard
or I received complaints about when pushing the CSV into OpenShift.
- spec.keywords
- spec.maintainers
- spec.provider
- metadata.namespace
- spec.icon (base64 encoded image embedded in the yaml)
spec.customresourcedefinitionsspec.customresourcedefinitions.owned.[description, displayName, kind, name, version, resources]
Describe the solution you'd like
I expect that spec.[keywords,maintainers,provider] could be configured through the use of a field in deploy/olm-catalog/csv-config.yaml
.
Currently, spec.customresourcedefinitions
aren't included at all. I expect that information to be pulled from the CRD where available. Perhaps a placeholder should be put into the CRD when generated like other fields experience.
Absence of spec.icon
throws a warning in some validators so maybe a warning here would be appropriate with a document on how to create such an icon. Also, I always move this to the bottom of the CSV for convenience since vim
displays it awkwardly due to the length of the line.