-
Story
-
Resolution: Done
-
Major
-
None
-
3
-
False
-
-
False
-
-
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