opendevstack / opendevstack/ods-quickstarters

Share Outputs from AWS/AZURE Components with other Components

Open
#857 9 comments 0 reactions 1 assignee View on GitHub

@nichtraunzer is already working on this.

Since Oct 13, 2022.

enhancement
Dominant language
Shell
Stars
39
Forks
50
PR merge metrics
No merged PRs in 30d

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?

(I add an image for better illustration)
image

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.