Open
Description
Recently we have been contacted from a usecase developer who asks for the following feature:
For instance, we have a front-end (an EDP managed OpenShift Angular app) that needs to the know the URL for our back-end API (API Gateway deployed via AWS Quickstarter (Terraform))
The current cloud components does not support that feature but I'd like to propose the following solution:
Assuming we have an ODS project X, which contains one AWS component called be (backend), a fronted component fe and an mro component (release manager).
- Since the pipeline for ods-infra components will be executed for each environment (dev/test/prod) individually we can write component outputs into a configmap during each deployment stage.
- To preserve uniqueness the configmap entry shall follow a pattern: components name plus a suffix, eg. for our example be-outputs. This entry will contain the outputs in JSON format.
- We only need to take care that the ods-infra component pipeline will be executed before the frontend => mro component.
What do you think? Any suggestions or alternative solutions?