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

[istio-csr GA] Provision for user to configure CA certificate chain

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Normal Normal
    • cert-manager-1.18
    • cert-manager-1.18
    • None
    • OAPE Sprint 276, OAPE Sprint 277, OAPE Sprint 278
    • 3

      Update `istiocsr.operator.openshift.io` API to support configuring optional CA certificate chain configured as a confimap reference to be mounted as volume in cert-manager-istio-csr deployment object, which is useful for providing the CAs issued by vault, venafi and other issuers.

      This is important to avoid Trust on first use. Please follow https://github.com/cert-manager/istio-csr/issues/103#issuecomment-923882792 comment for more details.

      Current Behavior:

      • The `istio-csr` controller currently fetches the secret referenced in the self-signed based Issuer, and creates a ConfigMap with the CA certificate found in the secret.

      What's required

      • When `issuer.spec.ca.secretName` is present, and CA chain is not configured, controller should handle making the CA certificate available.
      • If the CA chain is configured, then controller should add it to deployment object along with the relevant validations, like configMap should exist, the configured key should be present, and key should be pem content and a CA chain.
      • The `VolumeMount` which will added should align with the value set for `--root-ca-file` here

      Acceptance Criteria:

      • istio-csr controller should update the status in `istiocsr.operator.openshift.io` with degraded error when the required configuration is not present or validation fails.
      • e2e's and UT's must be added covering both the scenarios.

       

      Reference Issue: https://issues.redhat.com/browse/CM-564

              rh-ee-ckyal Chirag Kyal
              bhb@redhat.com Bharath B
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: