secrets-init icon indicating copy to clipboard operation
secrets-init copied to clipboard

Add environment variable for all flags and envvar prefix

Open albertrdixon opened this issue 1 year ago • 1 comments

What

  • Add environment variable for provider flag
  • Add environment variable for google-project flag
  • Add optional environment variables format with SECRETS_INIT prefix

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)

albertrdixon avatar Jan 08 '24 20:01 albertrdixon

hey, @alexei-led help is appreciated with this PR review pls.

sakomws avatar Feb 05 '24 20:02 sakomws