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

Support plugin .env file #1967

Open
nonsocode opened this issue Apr 3, 2024 · 0 comments
Open

Support plugin .env file #1967

nonsocode opened this issue Apr 3, 2024 · 0 comments

Comments

@nonsocode
Copy link

.env is a well-known format of describing environment variables. Support for this would greatly reduce the scripting overhead needed to run multiple plugins that share the same (or different) sets of environment variables. An option like --plugin-env-file could be used (similar to --plugin-env)

At runtime, sonobuoy could create a config map that will be added to the plugin pod's spec's env field.
Alternatively, sonobuoy could parse the content of the file and create environment entries on the Pod's spec like it currently does with --plugin-env

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