Creating a ConfigMap

Create a ConfigMap object in the openshift-config namespace that contains the certificate authority bundle for the identity provider. Red Hat OpenShift Container Platform uses this bundle to validate Transport Layer Security (TLS) connections to the identity provider.

Procedure
  1. Define an Red Hat OpenShift Container Platform ConfigMap object containing the CA by running the following command:

    $ oc create configmap ca-config-map --from-file=ca.crt=/path/to/ca -n openshift-config
  2. Optional: Apply the following YAML to create the config map:

    apiVersion: v1
    kind: ConfigMap
    metadata:
      name: ca-config-map
      namespace: openshift-config
    data:
      ca.crt: |
        <CA_certificate_PEM>

    The CA must be stored in the ca.crt key of the ConfigMap object.