Bug 1825194

Summary: `oc explain authentication.spec --api-version config.openshift.io/v1` still shows "The default is auth.openshift.io"
Product: OpenShift Container Platform Reporter: Xingxing Xia <xxia>
Component: openshift-apiserverAssignee: Lukasz Szaszkiewicz <lszaszki>
Status: CLOSED ERRATA QA Contact: Xingxing Xia <xxia>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.4CC: aos-bugs, lszaszki, mfojtik, mnewby, sttts
Target Milestone: ---Keywords: UpcomingSprint
Target Release: 4.4.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: 1823792 Environment:
Last Closed: 2020-06-29 15:33:54 UTC Type: ---
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: 1823792    
Bug Blocks:    

Description Xingxing Xia 2020-04-17 11:04:25 UTC
This minor issue still exists in 4.4 4.4.0-0.nightly-2020-04-17-044622 verified in bug 1819247#c3, so cloning it for 4.4.
Not sure which Target Release is proper, choosing 4.4.z. Please correct if wrong, thanks.

+++ This bug was initially created as a clone of Bug #1823792 +++

Description of problem:
`oc explain authentication.spec --api-version config.openshift.io/v1` still shows "The default is auth.openshift.io" in the version verified in bug 1819246.

Version-Release number of selected component (if applicable):
4.5.0-0.nightly-2020-04-13-213244

How reproducible:
Always

Steps to Reproduce:
1. $ oc explain authentication.spec --api-version config.openshift.io/v1
...
   serviceAccountIssuer <string>
     serviceAccountIssuer is the identifier of the bound service account token
     issuer. The default is auth.openshift.io
...

Actual results:
1. still shows "The default is auth.openshift.io".

Expected results:
1. should show what bug 1819246 expects.

--- Additional comment from Xingxing Xia on 2020-04-14 22:12:11 CST ---

Looks like the bump of bug 1819246 's https://github.com/openshift/api/pull/617 was not done yet.

--- Additional comment from Maru Newby on 2020-04-14 23:48:25 CST ---

(In reply to Xingxing Xia from comment #1)
> Looks like the bump of bug 1819246 's
> https://github.com/openshift/api/pull/617 was not done yet.

Yes, I missed the bump. Another PR has already performed the bump, though, so verification of the default in the crd doc is now ready for your review. The 4.4 change will include the bump.

Comment 1 Maru Newby 2020-04-17 14:27:31 UTC
Any idea why this is occurring? I've updated the type and crd in the o/api repo and vendored it into the operator repo.  What am I missing?

Comment 3 Lukasz Szaszkiewicz 2020-05-19 09:19:35 UTC
> Any idea why this is occurring?

@Maru It looks like `cluster-config-operator`[1 and 2] is the operator that manages config-operator manifests.

It seems that release 4.4 vendors outdated manifests [3]


[1] https://github.com/openshift/cluster-config-operator/blob/release-4.4/Dockerfile.rhel7#L10

[2] https://github.com/openshift/cluster-config-operator/blob/release-4.4/Dockerfile.rhel7#L17

[3] https://github.com/openshift/cluster-config-operator/blob/release-4.4/vendor/github.com/openshift/api/config/v1/0000_10_config-operator_01_authentication.crd.yaml#L67

Comment 4 Lukasz Szaszkiewicz 2020-05-20 08:37:21 UTC
This bug is actively worked on.

Comment 5 Lukasz Szaszkiewicz 2020-06-18 09:33:35 UTC
This BZ is waiting for verification. Adding the UpcomingSprint label so it won't be closed.

Comment 8 Xingxing Xia 2020-06-22 05:56:53 UTC
Verified in 4.4.0-0.nightly-2020-06-21-210301. Now it shows "https://kubernetes.default.svc":
$ oc explain authentication.spec --api-version config.openshift.io/v1
...
   serviceAccountIssuer	<string>
     serviceAccountIssuer is the identifier of the bound service account token
     issuer. The default is https://kubernetes.default.svc
...

Comment 10 errata-xmlrpc 2020-06-29 15:33:54 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-2020:2713

Comment 11 Red Hat Bugzilla 2023-09-14 05:55:36 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days