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

CLI support for exec env configs #1761

Merged

Conversation

thevilledev
Copy link
Contributor

Add the following CLI parameters and tests for each one:

  • exec-env-pristine
  • exec-env-custom
  • exec-env-allowlist
  • exec-env-denylist

As custom, denylist and allowlist are presented in slices, it is possible to define the same parameter multiple times. This behaviour matches how other HashiCorp tools handle similar cases, such as:

  • consul agent and --node-meta<key:value> parameter
  • vault kv get and -header=<key=value>

Fixes #1051

@thevilledev thevilledev requested a review from a team as a code owner June 10, 2023 17:55
@thevilledev thevilledev requested review from roncodingenthusiast and removed request for a team June 10, 2023 17:55
@roncodingenthusiast roncodingenthusiast merged commit 6497e59 into hashicorp:main Jun 21, 2023
@thevilledev thevilledev deleted the feature/exec-env-cli-parity branch June 21, 2023 16:50
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

Successfully merging this pull request may close these issues.

env blacklist in cli?
2 participants