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

Feature Request: Add support for optionally passing in environment variable blocks #32

Open
alanquillin opened this issue Nov 3, 2021 · 1 comment

Comments

@alanquillin
Copy link

Currently, you can only pass in extra environment variables as key value pairs in the values file:

env:
    foo: bar

however, this does not help if you need to pass in variables from config maps or secrets. It would be super helpful to be able to add something like the following to the values:

extraEnvs:
- name: SECRET_USERNAME
   valueFrom:
      secretKeyRef:
        name: mysecret
        key: username

The only way I have found is to create a secret and add it as the externalSecrets, however, this then requires me to manage ALL the environment variables for all the secrets, which is not ideal.

@anna-yn
Copy link
Contributor

anna-yn commented Jan 20, 2022

Hi! #35 (release v4.7.0) added an option to let you pass extra secrets to env vars, does this solve your problem?

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

2 participants