Description of problem:
When using the management console to add and OpenID IdentityProvider the secret with the CA is created empty.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Add an OpenID provider using the management console with a file uploaded as CA using the form
2. Check the oauth CRD
$ oc get -o yaml oauth cluster | grep "name: openid-ca-"
2. Check the configmap
$ oc get configmap -n openshift-config openid-ca-87tsz
NAME DATA AGE
openid-ca-87tsz 0 15s
The configmap is empty.
The configmap should contain the content of the uploaded file
*** Bug 1726056 has been marked as a duplicate of this bug. ***
This is fixed on registry.svc.ci.openshift.org/ocp/4.2-2019-07-08-052647@sha256:432a7353f9133eff713844c7a6f2e50e793b2b0cdddc76bd09e9106985c20270
After OAuth created by console (step1 was elaborated from bug #1726056), generated configmap does has data content with the key "ca.crt"
This bug could be marked as Verified.
XiaochuanWang, can you move this back into VERIFIED?
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.