mirror of
https://gitlab.kube.huskypup.net/Scooby/Homelabv4.git
synced 2026-08-21 05:26:49 +00:00
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:
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() {
|
||||
|
||||
Reference in New Issue
Block a user