-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Add CSV fields expected by various validator tools #2071
Copy link
Copy link
Closed
Labels
good first issueDenotes an issue ready for a new contributor, according to the "help wanted" guidelines.Denotes an issue ready for a new contributor, according to the "help wanted" guidelines.kind/featureCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.olm-integrationIssue relates to the OLM integrationIssue relates to the OLM integration
Metadata
Metadata
Assignees
Labels
good first issueDenotes an issue ready for a new contributor, according to the "help wanted" guidelines.Denotes an issue ready for a new contributor, according to the "help wanted" guidelines.kind/featureCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.olm-integrationIssue relates to the OLM integrationIssue relates to the OLM integration
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 validateandscorecardor I received complaints about when pushing the CSV into OpenShift.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.customresourcedefinitionsaren'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.iconthrows 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 sincevimdisplays it awkwardly due to the length of the line.