Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-44349

[IBI][Doc] The example to add a CA bundle in an image-based deployment seems to be misleading.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • 4.17.z
    • 4.17
    • Documentation / CNF
    • None
    • None
    • 1
    • T&PS 2024 #12
    • 1
    • False
    • Hide

      None

      Show
      None
    • Hide
      26-11-24: Will follow up with SME
      19-11-24: Checking updates required with SME
      Show
      26-11-24: Will follow up with SME 19-11-24: Checking updates required with SME

      [IBI][Doc] The example to add a CA bundle in an image-based deployment seems to be misleading.

       

      Looking under this link:

      https://79610--ocpdocs-pr.netlify.app/openshift-enterprise/latest/edge_computing/image_base_install/ibi_deploying_sno_clusters/ibi-edge-image-based-install#ibi-create-ca-extra-manifest-configmap_ibi-edge-image-based-install

       

      There's this step:

      Create the ConfigMap object by running the following command:$ oc create configmap custom-ca --from-file=example-ca.crt -n ibi-ns 

      The above example will create a configmap with the key example-ca.crt

       

      Yet, if we look at the ImageClusterInstall explanation for spec.caBundleRef - it says:

        caBundleRef   <Object>
          CABundle is a reference to a config map containing the new bundle of trusted
          certificates for the host.
          The tls-ca-bundle.pem entry in the config map will be written to
          /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem
       

      The above suggests that the file name in the example should be tls-ca-bundle.pem (or the argument to --from-file has to include the key name as well)

              rhn-support-rohennes Ronan Hennessy
              achuzhoy@redhat.com Alexander Chuzhoy
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: