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

VAULT-4306 Ensure /raft/bootstrap/challenge call ignores erroneous namespaces set #15519

Merged
merged 3 commits into from
May 19, 2022

Conversation

VioletHynes
Copy link
Contributor

@VioletHynes VioletHynes commented May 19, 2022

This ensures servers started on an environment where $VAULT_NAMESPACE is set do not use such a variable when making this kind of call, causing an error.

Notably, this file seems to be the only place where stripping the namespace makes sense (other API clients come from a CLI/api client call, where the namespace makes sense), which is why I did not make it a configuration item for ApiClient or similar. If it becomes a more general need, it makes sense to make the configuration change then, but it didn't make sense to me to add a new configuration item or method for what appears to be a snowflake.

@VioletHynes VioletHynes marked this pull request as ready for review May 19, 2022 19:42
changelog/15519.txt Outdated Show resolved Hide resolved
@VioletHynes VioletHynes merged commit caa10a5 into main May 19, 2022
Gabrielopesantos pushed a commit to Gabrielopesantos/vault that referenced this pull request Jun 6, 2022
…mespaces set (hashicorp#15519)

* VAULT-4306 Ensure /raft/bootstrap/challenge call ignores erroneous namespaces set

* VAULT-4306 Add changelog

* VAULT-4306 Update changelog/15519.txt

Co-authored-by: Nick Cabatoff <[email protected]>

Co-authored-by: Nick Cabatoff <[email protected]>
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.

3 participants