Uploaded image for project: 'Cert Manager support for Red Hat OpenShift'
  1. Cert Manager support for Red Hat OpenShift
  2. CM-870

As a developer, I want to implement DefaultCAPackage option using CNO injection

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • cert-manager-1.19
    • None
    • None

      Implement DefaultCAPackage using CNO's trusted CA bundle injection

      Description:

      Replace the upstream Debian-based init container approach with OpenShift's CNO CA bundle injection mechanism. Create ConfigMap for CNO injection and format the CA bundle into trust-manager's expected JSON format.

      Then mount at "/packages" in deployment and add --default-package-location=/packages/cert-manager-package-openshift.json arg in the operand container.

       

      Acceptance Criteria:

      • Controller waits for CNO injection (requeues if bundle not ready)
      • JSON format matches upstream trust-manager expectations
      • Package ConfigMap created and mounted to deployment
      • --default-package-location arg added when enabled
      • Status reflects DefaultCAPackage.Enabled state
      • Trust Manager should automatically start to trust new CA when CNO updates CA bundle
      • NonGoal: Automatic cleanup of Configmaps created to support `DefaultCAPackage` option, when this field is toggled or TrustManager CR is deleted.
      • Necessary e2e and UTs are added

              Unassigned Unassigned
              rh-ee-ckyal Chirag Kyal
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: