Bug 1952795

Summary: cloud-network-config-controller CRD does not specify correct plural name
Product: OpenShift Container Platform Reporter: Alexander Constantinescu <aconstan>
Component: NetworkingAssignee: Alexander Constantinescu <aconstan>
Networking sub component: ovn-kubernetes QA Contact: Dan Brahaney <dbrahane>
Status: CLOSED ERRATA Docs Contact:
Severity: medium    
Priority: medium CC: anusaxen, dbrahane
Version: 4.8Flags: dbrahane: needinfo-
Target Milestone: ---   
Target Release: 4.8.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: 2021-07-27 23:03:27 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 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