From 2d655e0966f5c4292ff2bd22f71a1ca77ef1a0ff Mon Sep 17 00:00:00 2001 From: Will Anderson Date: Mon, 4 May 2026 10:54:31 -0500 Subject: [PATCH] fix backup-verify path and suspend redpanda-topics-init MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit backup-verify: restic restores /dump/all-databases.sql relative to restore target, so the check path was wrong (/all-databases.sql → /dump/all-databases.sql). Also fix the --include filter to match. redpanda-topics-init: redpanda is intentionally scaled to 0; the init job will block forever waiting for a broker. Mark it suspended so Argo CD won't keep creating a stuck job. Re-enable when redpanda is turned on. --- servers/legion/k8s/backup/cronjob.yaml | 4 ++-- servers/legion/k8s/redpanda/topics-job.yaml | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/servers/legion/k8s/backup/cronjob.yaml b/servers/legion/k8s/backup/cronjob.yaml index 9a5367e..c8c9bf4 100644 --- a/servers/legion/k8s/backup/cronjob.yaml +++ b/servers/legion/k8s/backup/cronjob.yaml @@ -133,9 +133,9 @@ spec: mkdir -p /tmp/restore-verify restic restore latest \ --target /tmp/restore-verify \ - --include /all-databases.sql + --include /dump/all-databases.sql - SQL_FILE="/tmp/restore-verify/all-databases.sql" + SQL_FILE="/tmp/restore-verify/dump/all-databases.sql" if [ ! -f "$SQL_FILE" ]; then echo "ERROR: SQL dump not found in restored snapshot" exit 1 diff --git a/servers/legion/k8s/redpanda/topics-job.yaml b/servers/legion/k8s/redpanda/topics-job.yaml index 4131d35..603b641 100644 --- a/servers/legion/k8s/redpanda/topics-job.yaml +++ b/servers/legion/k8s/redpanda/topics-job.yaml @@ -8,6 +8,7 @@ metadata: name: redpanda-topics-init namespace: redpanda spec: + suspend: true # redpanda is scaled to 0; unsuspend this when redpanda is re-enabled ttlSecondsAfterFinished: 300 template: spec: