Bug 1798051
Summary: | Don't deprecate v1alpha2 OperatorGroup | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Evan Cordell <ecordell> |
Component: | OLM | Assignee: | Alexander Greene <agreene> |
OLM sub component: | OLM | QA Contact: | Bruno Andrade <bandrade> |
Status: | CLOSED ERRATA | Docs Contact: | |
Severity: | medium | ||
Priority: | high | CC: | bandrade, jiazha, krizza |
Version: | 4.4 | ||
Target Milestone: | --- | ||
Target Release: | 4.5.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
Cause: OLM did not deprecate the v1alpha2 operatorgroup crd correctly when introducing a structural schema.
Consequence: v1alpha2 operatorgroups were no longer supported and could not be created.
Fix: Reintroduce the v1alpha2 opreatorgroup crd.
Result: OLM still supports version v1alpha2 of operatorgroup crds.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2020-07-13 17:14:06 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: | 1804831 |
Description
Evan Cordell
2020-02-04 13:37:31 UTC
Moving this to 4.5, will clone to 4.4 and 4.3 Cluster version: 4.5.0-0.nightly-2020-03-06-190457 1, Create an OperatorGroup object with the v1alpha2 api version. cat og.yaml apiVersion: operators.coreos.com/v1alpha2 kind: OperatorGroup metadata: name: test-og namespace: default spec: targetNamespaces: - default oc create -f og.yaml operatorgroup.operators.coreos.com/test-og created oc get og -n default test-og -o yaml apiVersion: operators.coreos.com/v1 kind: OperatorGroup metadata: creationTimestamp: "2020-03-10T00:38:00Z" generation: 1 name: test-og namespace: default resourceVersion: "409474" selfLink: /apis/operators.coreos.com/v1/namespaces/default/operatorgroups/test-og uid: cea20f35-7216-4a3f-8271-762eda1b67df spec: targetNamespaces: - default status: lastUpdated: "2020-03-10T00:38:00Z" namespaces: - default The OperatorGroup works well, LGTM, verify it. 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-2020:2409 |