From 62751f7d7525d84aa3812fb094255db0227429c8 Mon Sep 17 00:00:00 2001 From: Scooby Husky Date: Mon, 17 Aug 2026 21:43:26 -0500 Subject: [PATCH] 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 --- .../vps-standby/vault/manifests/restore-cronjob.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/infrastructure/vps-standby/vault/manifests/restore-cronjob.yaml b/infrastructure/vps-standby/vault/manifests/restore-cronjob.yaml index a24e0e5..872a664 100644 --- a/infrastructure/vps-standby/vault/manifests/restore-cronjob.yaml +++ b/infrastructure/vps-standby/vault/manifests/restore-cronjob.yaml @@ -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() {