Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x-rds Lookup/Use support #206

Closed
JohnPreston opened this issue Oct 12, 2020 · 0 comments · Fixed by #211
Closed

x-rds Lookup/Use support #206

JohnPreston opened this issue Oct 12, 2020 · 0 comments · Fixed by #211
Assignees
Labels
enhancement New feature or request

Comments

@JohnPreston
Copy link
Member

As a developer I might already have created a database in production, outside of ComposeX.
I would like to be able to identify a pre-existing DB and its secret and associate it to my services.

Describe the solution you'd like

x-rds:
  dbA:
    Lookup:
      Tags:
         - key: Value
       Secret:
         Tags:
           - key: Value
         Name: "secret/name/in/secrets-manager"

Describe alternatives you've considered

x-rds:
  dbA:
    Lookup:
      Tags:
        - key: Value
    Secret:
      - dbasecret

secrets:
  dbasecret:
    x-secrets:
      Name: "secret/name/in/secrets-manager"

In the second syntax, we are re-using the docker-compose secrets and if associated to a DB we would automatically add it to the service definition.

@JohnPreston JohnPreston added the enhancement New feature or request label Oct 12, 2020
@JohnPreston JohnPreston self-assigned this Oct 12, 2020
@JohnPreston JohnPreston linked a pull request Oct 14, 2020 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant