secrets-init
secrets-init copied to clipboard
Add environment variable for all flags and envvar prefix
What
- Add environment variable for
providerflag - Add environment variable for
google-projectflag - Add optional environment variables format with
SECRETS_INITprefix
Why
- Using secrets init for apps in GCP required setting the command line flag rather than the much easier (in kubernetes at least) environment variable flow
- Using a prefix for environment variables helps to avoid collision (in particular with
LOG_FORMAT)
hey, @alexei-led help is appreciated with this PR review pls.