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

Figuring out how to get Azure Key vault values into node as environment variables using K8s and docker #6

Closed
gruckion opened this issue Nov 14, 2018 · 1 comment

Comments

@gruckion
Copy link
Owner

gruckion commented Nov 14, 2018

Goal:

  1. Azure Vault stores API_KEY
  2. Define process environment variables in the *.yml file (e.g. QAT.yml) tokenizer links Azure Vault to *.yml
  3. Dockerfile runs a shell script CMD [ “./docker-node-env.sh” ] which scapes through the process environment variables (handed over from k8) and builds *.env file for node with all the "REACT_APP_#" environment variables listed.
@gruckion
Copy link
Owner Author

Conclusion

Docker appears to be automatically parsing it's process variables to the thing it runs via CMD.

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

No branches or pull requests

1 participant