Bug 1952795 - cloud-network-config-controller CRD does not specify correct plural name
Summary: cloud-network-config-controller CRD does not specify correct plural name
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Networking
Version: 4.8
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.8.0
Assignee: Alexander Constantinescu
QA Contact: Dan Brahaney
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-04-23 07:30 UTC by Alexander Constantinescu
Modified: 2021-07-27 23:03 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-07-27 23:03:27 UTC
Target Upstream Version:
Embargoed:
dbrahane: needinfo-


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift api pull 910 0 None open Bug 1952795: fix plural name for CloudPrivateIPConfig 2021-04-23 07:36:24 UTC
Github openshift client-go pull 185 0 None open Bug 1952795: Bump openshift/api for cloud network config controller 2021-04-23 14:18:08 UTC
Red Hat Product Errata RHSA-2021:2438 0 None None None 2021-07-27 23:03:53 UTC

Description Alexander Constantinescu 2021-04-23 07:30:36 UTC
Description of problem:

The cloud network config controller CRD does not specify the correct plural name in its CRD stanza. Creating a CRD as is will cause any controller to fail when watching for the resource since it will be looking for the plural name instead of the singular name, as its currently defined in the CRD.

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


How reproducible:

There's really nothing to reproduce here for the moment. I need this bug to get a fix is, but the problem is purely dev related for the moment. 

Steps to Reproduce:
1. Look at https://github.com/openshift/api/blob/master/cloudnetwork/v1/001-cloudprivateipconfig.crd.yaml and verify spec.names.plural
2. Should be "cloudprivateipconfigs"
3.

Actual results:

The CRD stanza specifies "cloudprivateipconfig", see https://github.com/openshift/api/blob/master/cloudnetwork/v1/001-cloudprivateipconfig.crd.yaml#L10

Expected results:

Expect the CRD stanza to specify "cloudprivateipconfigs"

Additional info:

Comment 6 errata-xmlrpc 2021-07-27 23:03:27 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.