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-18638: add seal reload on SIGHUP #23571

Merged
merged 12 commits into from
Nov 30, 2023
Merged

Vault-18638: add seal reload on SIGHUP #23571

merged 12 commits into from
Nov 30, 2023

Conversation

rculpepper
Copy link
Contributor

This adds the ability to reload seal configuration on SIGHUP

@rculpepper rculpepper requested a review from a team October 9, 2023 17:58
@github-actions github-actions bot added the hashicorp-contributed-pr If the PR is HashiCorp (i.e. not-community) contributed label Oct 9, 2023
@github-actions
Copy link

github-actions bot commented Oct 9, 2023

Build Results:
All builds succeeded! ✅

@github-actions
Copy link

github-actions bot commented Oct 9, 2023

CI Results:
All Go tests succeeded! ✅

command/server.go Show resolved Hide resolved
command/server.go Outdated Show resolved Hide resolved
vault/core.go Show resolved Hide resolved
vault/core_util.go Outdated Show resolved Hide resolved
Copy link
Contributor

@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.

Just one Q

config.Seals = core.GetCoreConfigInternal().Seals
}

for _, seal := range setSealResponse.getCreatedSeals() {
Copy link
Contributor

Choose a reason for hiding this comment

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

When we reload seals, will the Finalize of the previous batch of seals get called?

Copy link
Contributor

@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.

Not spotting anything new since my last review.

@rculpepper rculpepper added this to the 1.16.0-rc1 milestone Nov 29, 2023
Copy link
Contributor

@victorr victorr left a comment

Choose a reason for hiding this comment

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

👍

@rculpepper rculpepper merged commit 638522e into main Nov 30, 2023
109 checks passed
@rculpepper rculpepper deleted the rculpepper/vault-18638 branch November 30, 2023 21:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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.

3 participants