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

OLM CA management: limitations of subPath volume mounting

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • 4.19
    • OLM
    • Low
    • None
    • Eevee OLM Sprint 265, Flareon OLM Sprint 266
    • 2
    • Rejected
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      For various reasons, operator-controller and catalogd need to refer to multiple CAs. Due to limitations within the containers/images API, only one directory can be specified for the locations of the CA.
      
      In order to mount all the CAs into a single location, subPath is used when mounting. However, there is a limitation on subPath: it doesn't update when the source item (a ConfigMap in this case) updates.
      See: https://github.com/kubernetes/kubernetes/issues/50345
      
      This is a problem for CA rotation. However, it appears that the service-ca provided by Openshift has a validity period of 26 months, during which it is expected that the user will have upgraded, and the CA will have been rotated: https://docs.openshift.com/container-platform/4.17/security/certificate_types_descriptions/service-ca-certificates.html

      Version-Release number of selected component (if applicable):

          

      How reproducible:

      It's the current state of the manifests.

      Steps to Reproduce:

          1.
          2.
          3.
          

      Actual results:

          

      Expected results:

          

      Additional info:

          

              tshort@redhat.com Todd Short
              tshort@redhat.com Todd Short
              Xia Zhao Xia Zhao
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: