Bug 1700903

Summary: standardize resource names for auth api's
Product: OpenShift Container Platform Reporter: Erica von Buelow <evb>
Component: apiserver-authAssignee: Erica von Buelow <evb>
Status: CLOSED ERRATA QA Contact: Chuan Yu <chuyu>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.1.0CC: aos-bugs, nagrawal
Target Milestone: ---   
Target Release: 4.1.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: 2019-06-04 10:47:47 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 Erica von Buelow 2019-04-17 15:45:11 UTC
Description of problem:
- remove "openshift-" prefix from the resource names for auth components

!!!BLOCKS API FREEZE!!!

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


How reproducible:
Always


Steps to Reproduce:
1. Run:
- `oc get all -n openshift-authentication`
- `oc get all -n openshift-authentication-operator`
- `oc get all -n openshift-service-ca`
- `oc get all -n openshift-service-ca`
2. Resource names displayed should be informative and short.

Actual results:

Many resources with the name "openshift-authentication" for instance

Expected results:

Something like "oauth-server" for the service name.

Additional info:

Comment 3 Chuan Yu 2019-04-24 02:57:11 UTC
The 4.1.0-0.nightly-2019-04-23-223857 not include this fix.

$ oc adm release info --pullspecs registry.svc.ci.openshift.org/ocp/release:4.1.0-0.nightly-2019-04-23-223857 | grep authentication-operator
  cluster-authentication-operator               quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:49d3cdc25ca76078f49e040a775c8b3ddc6dab6fb67bc3cfe0318609c3b28b99

$ oc image info quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:49d3cdc25ca76078f49e040a775c8b3ddc6dab6fb67bc3cfe0318609c3b28b99 | grep commit.url
             io.openshift.build.commit.url=https://github.com/openshift/cluster-authentication-operator/commit/b22c05adbfea7c899757355f79d34f7a93525b46

Comment 4 Chuan Yu 2019-04-25 08:19:03 UTC
Verified.

$ oc get clusterversion
NAME      VERSION                             AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.1.0-0.nightly-2019-04-25-002910   True        False         5h22m   Cluster version is 4.1.0-0.nightly-2019-04-25-002910

Comment 6 errata-xmlrpc 2019-06-04 10:47:47 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, 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-2019:0758