Bug 1928931 - DNSRecord CRD is using deprecated v1beta1 API
Summary: DNSRecord CRD is using deprecated v1beta1 API
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Networking
Version: 4.8
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: ---
: 4.8.0
Assignee: Ryan Fredette
QA Contact: Arvind iyengar
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-02-15 19:51 UTC by Ryan Fredette
Modified: 2022-08-04 22:32 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-07-27 22:44:45 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift api pull 861 0 None closed Bug 1928931: operator/v1: switch DNSRecord CRD to v1 2021-03-22 06:04:15 UTC
Github openshift api pull 867 0 None closed Bug 1928931: Set spec.scope for DNSRecord CRD 2021-03-22 06:04:18 UTC
Github openshift cluster-ingress-operator pull 575 0 None open Bug 1928931: Update DNSRecord CRD from v1beta1 to v1 2021-03-17 16:35:54 UTC
Red Hat Product Errata RHSA-2021:2438 0 None None None 2021-07-27 22:45:04 UTC

Description Ryan Fredette 2021-02-15 19:51:06 UTC
Description of problem: the v1beta1 version of CustomResourceDefinition is being removed in k8s 1.22, in favor of the v1 version of the API. 

The DNSRecord CRD in cluster-ingress-operator still uses the v1beta1 version and should be updated


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Ryan Fredette 2021-03-17 16:10:01 UTC
the fix has been merged to github.com/openshift/api, but DNSRecord is copied into another location for builds in github.com/openshift/cluster-ingress-operator , which I still need to create a PR to update. Moving back to assigned state until that's complete.

Comment 4 Hongan Li 2021-03-29 09:19:01 UTC
verified with 4.8.0-0.nightly-2021-03-26-054333 and passed.

$ oc get customresourcedefinitions.apiextensions.k8s.io dnsrecords.ingress.operator.openshift.io -oyaml
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
<---snip--->
spec:
  conversion:
    strategy: None
  group: ingress.operator.openshift.io
  names:
    kind: DNSRecord
    listKind: DNSRecordList
    plural: dnsrecords
    singular: dnsrecord
  scope: Namespaced
  versions:
  - name: v1
    schema:
      openAPIV3Schema:

Comment 7 errata-xmlrpc 2021-07-27 22:44:45 UTC
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 (Moderate: OpenShift Container Platform 4.8.2 bug fix and security update), 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/RHSA-2021:2438


Note You need to log in before you can comment on or make changes to this bug.