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

feat: template extraEnv #704

Merged
merged 1 commit into from
Sep 27, 2024
Merged

Conversation

jagregory
Copy link
Contributor

@jagregory jagregory commented Sep 17, 2024

Similar to #703, it's useful to be able to template extra environment variables (especially DSN). For example, when using several Ory components and multiple environments you can template the DSNs to a shared value instead of needing to set each individually.

Checklist

  • I have read the contributing guidelines and signed the CLA.
  • I have referenced an issue containing the design document if my change introduces a new feature.
  • I have read the security policy.
  • I confirm that this pull request does not address a security vulnerability.
    If this pull request addresses a security vulnerability,
    I confirm that I got approval (please contact security@ory.sh) from the maintainers to push the changes.
  • I have added tests that prove my fix is effective or that my feature works.
  • I have added the necessary documentation within the code base (if appropriate).

@Demonsthere
Copy link
Collaborator

Hi there!
I have nothing agains this feature, as it does not modify the default behaviour, not is it a breaking change, but please add a few words to the documentation of the components showing an example plus update at least one of the values in hacks/values to have this option be checked in the CI :)

@jagregory
Copy link
Contributor Author

jagregory commented Sep 17, 2024 via email

@jagregory
Copy link
Contributor Author

@Demonsthere FYI I've updated this PR and #703, let me know if you have any other feedback. Thanks

Copy link
Collaborator

@Demonsthere Demonsthere left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@Demonsthere Demonsthere merged commit 85bc64b into ory:master Sep 27, 2024
20 checks passed
@jagregory jagregory deleted the template-extra-env branch September 29, 2024 23:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants