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
-
Define an Red Hat OpenShift Container Platform
ConfigMapobject containing the CA by running the following command:$ oc create configmap ca-config-map --from-file=ca.crt=/path/to/ca -n openshift-config -
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.crtkey of theConfigMapobject.