Bug 1708503
| Summary: | [marketplace] Missing openapi CRD definitions for oc explain to work | |||
|---|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Jian Zhang <jiazha> | |
| Component: | OLM | Assignee: | Alexander Greene <agreene> | |
| OLM sub component: | OperatorHub | QA Contact: | Fan Jia <jfan> | |
| Status: | CLOSED ERRATA | Docs Contact: | ||
| Severity: | medium | |||
| Priority: | medium | CC: | aravindh, bandrade, chezhang, chuo, dyan, jfan, lmeyer, scolange, smunilla, sponnaga, vlaad, xtian, zitang | |
| Version: | 4.1.0 | |||
| Target Milestone: | --- | |||
| Target Release: | 4.1.z | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | 4.1.7 | |||
| Fixed In Version: | Doc Type: | Bug Fix | ||
| Doc Text: |
Cause: The CatalogSourceConfig and OperatorSource Custom Resource Definitions
(CRD) are missing the openapi definition fields.
Consequence: "oc explain operatorsource" and "oc explain catalogsourceconfig" have empty descriptions.
Fix: Update the CRDs with the `spec.validation.openAPIV3Schema.description`
field.
Result: Descriptions are now present when the "oc explain operatorsource" and "oc explain catalogsourceconfig" commands are ran.
|
Story Points: | --- | |
| Clone Of: | ||||
| : | 1712317 1723835 (view as bug list) | Environment: | ||
| Last Closed: | 2019-07-25 05:32:32 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1723835 | |||
|
Description
Jian Zhang
2019-05-10 06:39:15 UTC
The following PR has been opened to address this bug: https://github.com/operator-framework/operator-marketplace/pull/185 Problem: The CatalogSourceConfig and OperatorSource Custom Resource Definitions (CRD) are missing the openapi definition fields. Solution: Update the CRDs with the `spec.validation.openAPIV3Schema.description` field. The PR above has been merged. The latest nightly build (4.1.0-0.nightly-2019-05-16-223922) doesn't include the pr , will test until it includes it. The latest nightly build (4.1.0-0.nightly-2019-05-17-041605) doesn't include the pr , will test until it includes it. The branch release-4.1 doesn't include this pr, will be tested in 4.1.z. The branch release-4.1 doesn't include this pr, will be tested in 4.1.z. The branch release-4.1 doesn't include this pr, will be tested in 4.1.z. A new PR was created to add this to the 4.1 branch: https://github.com/operator-framework/operator-marketplace/pull/218 That PR was closed, and resurrected as an automated cherry-pick https://github.com/operator-framework/operator-marketplace/pull/219 which merged and was built, but nothing updated this bug. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2019:1809 |