Hide Forgot
Created attachment 1586538 [details] Created configmap lost data content Description of problem: Cluster admin user create an Oauth by console, upload a file as CA file. The generated configmap in project openshift-config lost content Version-Release number of selected component (if applicable): 4.2.0-0.nightly-2019-06-30-221852 image for openshift-console: quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:cfb2ff43b6b9696d21c755b791174a0a35f187dc3544823547e12c45726adc8d How reproducible: Always Steps to Reproduce: 1. Cluster admin login and go to the Oauth page -> Add -> Basic Authentication 2. Set url, upload a pem file to CA File 3. Check the generated configmap from openshift-config Check the pod from openshift-authentication. Actual results: Created configmap lost data content (the data is empty). New created pods from openshift-authentication can not be ready. (Please refer to the screenshot) Expected results: Created secret under openshift-config should be like below. The key of configmap should be "ca.crt", the data value should be content of CA File: """ kind: ConfigMap apiVersion: v1 metadata: name: basic-auth-ca-4ftmx namespace: openshift-config ... data: ca.crt: | -----BEGIN CERTIFICATE----- MIIC6jCCAdKgAwIBAgIBATANBg... ... cnbCbVQLPIEzo1BzOTAvmtXUel... -----END CERTIFICATE----- """ Additional info: Expected configmap refer to `oc create configmap basic-auth-ca-4ftmx --from-file=ca.crt=tls-ca-bundle.pem`
*** This bug has been marked as a duplicate of bug 1727282 ***