+++ This bug was initially created as a clone of Bug #1727282 +++
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
The generated configmap in openshift-config contains correct data content which "ca.crt" as key.
This could be verified.
Tested on 4.1.0-0.nightly-2019-07-09-205457
Console image is quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:46a7288cd0f60435ff7bc057dba99feabe8d524442a202ae7669e89e5ebd44c2
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.