pocket-core-deployments
pocket-core-deployments copied to clipboard
[RFC] docker/entrypoint.sh: Allow to load config/keys/passphrase from file
We're working on an helm chart, and we've encoutered two issues this PR is trying to fix:
- We want to store the keys and passphrase in Vault and inject the content via the kubernetes vault sidecar, which can only inject files
- Loading the genesis.json from an env var is a problem because the total chart size is very limited.
This code hasn't been tested yet, this is just a Request For Comment, to gather your opinion on the approach.