Bug 2018095
Summary: | If olm.maxOpenShiftVersion set in csv and metadata/properties.yaml, both will take effect | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | xzha |
Component: | OLM | Assignee: | Tyler Slaton <tyslaton> |
OLM sub component: | OLM | QA Contact: | xzha |
Status: | CLOSED CURRENTRELEASE | Docs Contact: | |
Severity: | medium | ||
Priority: | medium | CC: | pegoncal, tflannag, tyslaton, vlaad |
Version: | 4.10 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
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: | 2022-08-26 14:42:40 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: |
Description
xzha
2021-10-28 08:39:42 UTC
Hi @xzha , Would you mind linking a must-gather? This would assist with the triaging process. Thank you for your time, Tyler Hi, @tyslaton Please check bellow must-gather. https://drive.google.com/file/d/1X2aCu5-QhWy84hoBkj-q1pLYQpuhq_R9/view?usp=sharing Hi again @xzha It looks like we are going to implement a warning on the API (https://github.com/operator-framework/api) which then feeds into the operator-sdk. This is the approach we decided is the past path forward as the operator-sdk has more of an adoption base. As a result, once our fix is implemented, a warning will be output whenever a user defines `olm.properties` to inform them that that proper way of defining properties is in a `properties.yaml` file instead. Any thoughts on this? Hi, @tyslaton Thanks lot for your information, the solution looks good to me. The fix for this has been brought into the operator-sdk with a recent merge: https://github.com/operator-framework/operator-sdk/pull/5570 That update brings an upgrade to the api dependency which brings in this PR: https://github.com/operator-framework/api/pull/217 Marking this as modified as a result. verify: zhaoxia@xzha-mac operator-sdk % ./build/operator-sdk version operator-sdk version: "v1.18.0-14-g4ccfe84a", commit: "4ccfe84ae1389b3acd8f34360611d361a6471f67", kubernetes version: "v1.23", go version: "go1.17.6", GOOS: "darwin", GOARCH: "amd64" zhaoxia@xzha-mac operator-sdk % ./build/operator-sdk bundle validate quay.io/xzhao/cockroachdb-operator:5.0.4-2130-test INFO[0000] Unpacking image layers INFO[0000] running /usr/local/bin/docker pull quay.io/xzhao/cockroachdb-operator:5.0.4-2130-test INFO[0004] running docker create INFO[0004] running docker cp INFO[0004] running docker rm WARN[0005] Warning: Value : found olm.properties annotation, please define these properties in metadata/properties.yaml instead INFO[0005] All validation tests have completed successfully zhaoxia@xzha-mac operator-sdk % LGTM, verified |