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

As a developer, I want to implement configurable TrustNamespace settings

XMLWordPrintable

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

      Description:

      Implement support for a configurable trustNamespace where trust-manager reads sources (ConfigMaps/Secrets). The operator should create the namespace if it doesn't exist and properly configure RBAC resources in the correct namespaces.

      More Details:

      • spec.trustManagerConfig.trustNamespace - defaults to "cert-manager"
      • Operator creates namespace if it doesn't exist (with resource labels)
      • RBAC placement:
        • trust-manager Role/RoleBinding → trust namespace
        • trust-manager:leaderelection Role/RoleBinding → operand namespace (cert-manager)
      • Non-goal: Automatic deletion of the trust namespace when the TrustManager CR is deleted or updated with a new namespace.  

       

      Acceptance Criteria:

      • Trust namespace created if it doesn't exist
      • RBAC is configured correctly.
      • --trust-namespace arg set correctly in deployment
      • TrustManagerStatus.TrustNamespace updated
      • 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: