Skip to content

CLI support for exec env configs#1761

Merged
roncodingenthusiast merged 1 commit into
hashicorp:mainfrom
thevilledev:feature/exec-env-cli-parity
Jun 21, 2023
Merged

CLI support for exec env configs#1761
roncodingenthusiast merged 1 commit into
hashicorp:mainfrom
thevilledev:feature/exec-env-cli-parity

Conversation

@thevilledev
Copy link
Copy Markdown
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