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

Refactor env vars for apps #233

Open
madwort opened this issue May 1, 2024 · 1 comment
Open

Refactor env vars for apps #233

madwort opened this issue May 1, 2024 · 1 comment

Comments

@madwort
Copy link
Contributor

madwort commented May 1, 2024

Apps airlock & job-runner etc share one set of env files in ~opensafely/config. This is good for some shared config (ideally job server token, although I think that's not currently working as intended) - but this leads to accidents where airlock picks up env vars intended for job-runner e.g. opensafely-core/airlock#305 . Most relevant env vars are namespaced in airlock but this can trip up the unwary when adding new env vars.

@madwort
Copy link
Contributor Author

madwort commented May 1, 2024

As part of this, ideally I would like the values for secrets to be manually provided to backend-server somehow & then rendered into 02_secrets.env rather than manually maintaining the env file directly as currently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant