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

Only reload seal config when enable_multiseal is set, or is being disabled #26166

Merged
merged 2 commits into from Mar 27, 2024

Conversation

victorr
Copy link
Contributor

@victorr victorr commented Mar 26, 2024

No description provided.

@victorr victorr added the backport/1.16.x Backport changes to `release/1.16.x` label Mar 26, 2024
@victorr victorr added this to the 1.16.1 milestone Mar 26, 2024
@victorr victorr self-assigned this Mar 26, 2024
@github-actions github-actions bot added the hashicorp-contributed-pr If the PR is HashiCorp (i.e. not-community) contributed label Mar 26, 2024
@victorr victorr requested a review from a team March 26, 2024 19:37
Copy link

github-actions bot commented Mar 26, 2024

Build Results:
All builds succeeded! ✅

Copy link

github-actions bot commented Mar 26, 2024

CI Results:
All Go tests succeeded! ✅

@victorr victorr force-pushed the victorr/vault-25453-guard-seal-reloading-ce branch from da74ec5 to 0b3df62 Compare March 27, 2024 14:41
@victorr victorr force-pushed the victorr/vault-25453-guard-seal-reloading-ce branch from 0b3df62 to 89ce933 Compare March 27, 2024 14:46
@victorr victorr requested review from a team and sgmiller March 27, 2024 14:47
Verify that the in-memory seal generation information is stale and only reload
seal configuration when that is the case.

When reloading seal configuration, only do it when enable_multiseal is currently
set to true, or the new configuration is attempting to set it to true.
@victorr victorr force-pushed the victorr/vault-25453-guard-seal-reloading-ce branch from 89ce933 to 0d2a62a Compare March 27, 2024 15:07
command/server.go Show resolved Hide resolved
Copy link
Collaborator

@sgmiller sgmiller left a comment

Choose a reason for hiding this comment

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

I can find nothing wrong here. Rachel's comment is worth a thought though.

@victorr victorr merged commit ae31138 into main Mar 27, 2024
83 checks passed
@victorr victorr deleted the victorr/vault-25453-guard-seal-reloading-ce branch March 27, 2024 17:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport/1.16.x Backport changes to `release/1.16.x` hashicorp-contributed-pr If the PR is HashiCorp (i.e. not-community) contributed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants