Skip to content

Allow overwriting over environment variables#135

Merged
OpsBotPrime merged 1 commit intomasterfrom
disable-overwrite-env-variables-warnings
Jun 29, 2023
Merged

Allow overwriting over environment variables#135
OpsBotPrime merged 1 commit intomasterfrom
disable-overwrite-env-variables-warnings

Conversation

@joris-burgers
Copy link
Contributor

Fixes #134

Allow us to overwrite the duplicate variables error with a new flag. When enabling this flag, we don't error on duplicate variables, but instead take the ones from the environment already specified.

@joris-burgers joris-burgers requested a review from fatho June 26, 2023 08:33
Copy link
Member

@fatho fatho left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Implementation-wise, it's fine, but I think the interface could be made clearer

@joris-burgers joris-burgers requested a review from fatho June 26, 2023 14:55
@joris-burgers joris-burgers requested a review from fatho June 27, 2023 14:48
Copy link
Member

@fatho fatho left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Almost...

@joris-burgers joris-burgers requested a review from fatho June 28, 2023 14:23
Copy link
Member

@fatho fatho left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@joris-burgers
Copy link
Contributor Author

@OpsBotPrime merge

@OpsBotPrime
Copy link
Contributor

Pull request approved for merge by @joris-burgers, rebasing now.

Allow us to overwrite the duplicate variables error with a new flag.
When enabling this flag, we don't error on duplicate variables, but
instead take the ones from the environment already specified.
@OpsBotPrime
Copy link
Contributor

Rebased as 77080d2, waiting for CI …

@OpsBotPrime
Copy link
Contributor

CI job 🟡 started.

@OpsBotPrime OpsBotPrime force-pushed the disable-overwrite-env-variables-warnings branch from 50ec3e5 to 77080d2 Compare June 29, 2023 06:54
@OpsBotPrime OpsBotPrime merged commit 77080d2 into master Jun 29, 2023
@OpsBotPrime OpsBotPrime deleted the disable-overwrite-env-variables-warnings branch June 29, 2023 06:54
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.

Allow vaultenv to override environment variables

3 participants