From e5c81801b4ae86af4ef01b505e6f63567f4b8c84 Mon Sep 17 00:00:00 2001 From: trivernis Date: Thu, 14 Dec 2023 10:27:45 +0100 Subject: [PATCH] apps(discordbot-2b): Add continue on error to db script --- apps/discordbot-2b/app/stackgres-scripts.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/discordbot-2b/app/stackgres-scripts.yaml b/apps/discordbot-2b/app/stackgres-scripts.yaml index d899356..c8f71e4 100644 --- a/apps/discordbot-2b/app/stackgres-scripts.yaml +++ b/apps/discordbot-2b/app/stackgres-scripts.yaml @@ -4,14 +4,18 @@ metadata: namespace: discordbot-2b name: cluster-scripts spec: + continueOnError: true scripts: - name: init-db + version: 1 scriptFrom: secretKeyRef: name: 2b-secret key: init-db.sql + - name: init-user retryOnError: true + version: 2 scriptFrom: secretKeyRef: name: 2b-secret