Fix vps-vault restore script: pod name is vps-vault-0, not vault-0

StatefulSet pod naming follows the Helm release name (vps-vault, matching
the ArgoCD Application name), not the chart's default.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
Scooby Husky
2026-08-17 21:43:26 -05:00
co-authored by Claude Sonnet 5
parent d0c5563671
commit 62751f7d75
@@ -67,7 +67,9 @@ data:
#!/bin/bash
set -euo pipefail
VAULT_POD="vault-0"
# StatefulSet pod name follows the Helm release name (vps-vault), not
# the chart's default "vault-0".
VAULT_POD="vps-vault-0"
UNSEAL_KEY="$(kubectl -n vault get secret vault-unseal-key -o jsonpath='{.data.key}' | base64 -d)"
vault_exec() {