Bug 1791399
| Summary: | spec.customresourcedefinitions.owned.specDescriptors.value cannot be set | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Matt Dorn <mdorn> |
| Component: | OLM | Assignee: | Evan Cordell <ecordell> |
| OLM sub component: | OLM | QA Contact: | Jian Zhang <jiazha> |
| Status: | CLOSED NOTABUG | Docs Contact: | |
| Severity: | unspecified | ||
| Priority: | unspecified | CC: | bandrade, bsong, scuppett |
| Version: | 4.4 | ||
| Target Milestone: | --- | ||
| Target Release: | 4.4.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-01-21 22:38:17 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: | 1790612 | ||
|
Description
Matt Dorn
2020-01-15 18:14:08 UTC
This is not a bug, but rather because of the enforcement of the structural Schemas. We need to make sure the **type** of values matches expectations. https://kubernetes.io/blog/2019/06/20/crd-structural-schema/ The Old Operators's CSV needs to be updated to be deployed on the 4.4 clusters. The type of the specDescriptor value is []byte/ json.rawmessage. See below: https://github.com/operator-framework/operator-lifecycle-manager/blob/372a68604a028eb9c0d61ce7beda0bf948ba11a6/pkg/api/apis/operators/v1alpha1/clusterserviceversion_types.go#L94 |