Repository navigation
feat(platform): a script unseals Vault after a restart - #2517
Merged
Merged
Conversation
Contributor
Changes
No production or test lines added. Coverage
Patch coverage: this pull request changes no line that coverage measures. |
scripts/unseal-vault.sh confirms the kubectl context, port-forwards to vault-v2-0 and asks for shares on a hidden prompt until Vault opens, then waits for the pod to become ready. The bootstrap doc points to it and names vault-v2-0 in place of the old vault-0. Part of #2516
ExtraToast
force-pushed
the
chore/2516-unseal-vault-script
branch
from
October 19, 2026 05:05
1dce19e to
80584a2
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #2516
What changes
scripts/unseal-vault.shunsealsvault-v2-0indata-system:blueshellcontext, orKUBE_CONTEXT=<name>, never kubectl's current context, and asks the operator to typeyesafter showing the API server.pod/vault-v2-0on a free local port. The pod, notsvc/vault-v2, because a sealed Vault is not ready.vault operator unsealon a hidden prompt until Vault opens. No share reaches a command line or disk.platform/docs/vault-bootstrap.mdpoints to the script after a restart and namesvault-v2-0in place of the oldvault-0.The context check and port-forward follow
migrate-vault.shandrestore.sh.Checked
bash -npasses.blueshellwhile Vault was sealed after a reboot: it readsealed: true, 0 of 3 shares.