Uploaded image for project: 'Red Hat Internal Developer Platform'
  1. Red Hat Internal Developer Platform
  2. RHIDP-4595

Default configuration: make it possible to configure containers to mount PVC to

    • Icon: Story Story
    • Resolution: Done
    • Icon: Major Major
    • 1.5.0
    • None
    • Operator
    • 3
    • False
    • Hide

      None

      Show
      None
    • False
    • Hide
      = Configurable PVC mounting for containers

      Previously, the default Persistent Volume Claim (PVC) could only be mounted to the Backstage container. With this update, you can now configure which container(s) the PVC should be mounted to, providing greater flexibility in storage management.
      Show
      = Configurable PVC mounting for containers Previously, the default Persistent Volume Claim (PVC) could only be mounted to the Backstage container. With this update, you can now configure which container(s) the PVC should be mounted to, providing greater flexibility in storage management.
    • Feature
    • Done
    • RHDH Install 3264, RHDH Install 3267, RHDH Install 3268

      Story

      As an admin, I want to be able to configure containers to mount PVCs to.

      Background

      Example: for now dynamic plugins directory is configured as a part of default-config/deployment.yaml declaring the Volume like

      - ephemeral:
          volumeClaimTemplate:
            spec:
              accessModes:
                - ReadWriteOnce
              resources:
                requests:
                  storage: 2Gi
        name: dynamic-plugins-root 

      As we have ability to describe it as part of pvcs.yaml, it can be implemented more flexible with declaring it and then it will be mount to specific directory to Backstage container and Init-Dynamic-Plugins initContainer by operator

      Proposal is to add the annotation like rhdh.redhat.com/containers
      with rules like:

      • if  not specified mounted to backstage container (backstage-backend) only 
      • if == "*" - mounted to all the containers in deployment
      • if comma separated list like "backstage-backend,install-dynamic-plugins" mounted to specified containters

        Dependencies and Blockers

      QE impacted work

      Documentation impacted work

      Acceptance Criteria

      • tests added
      • upstream documentation updated
      • demo added

              gazarenk-1 Gennady Azarenkov
              gazarenk-1 Gennady Azarenkov
              RHIDP - Install
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: