From 5e86962b15faa50988d3013b7c43d1a4cbc5a135 Mon Sep 17 00:00:00 2001 From: Jesse Nelson Date: Fri, 21 Feb 2025 16:53:29 -0600 Subject: [PATCH] Add id for SGScript entries (#10453) add id for SGScript entries --------- Signed-off-by: Jesse Nelson --- .../templates/stackgres/stackgres-script-coordinator.yaml | 4 ++++ .../templates/stackgres/stackgres-script-worker.yaml | 2 ++ 2 files changed, 6 insertions(+) diff --git a/charts/hedera-mirror/templates/stackgres/stackgres-script-coordinator.yaml b/charts/hedera-mirror/templates/stackgres/stackgres-script-coordinator.yaml index 98502b1f2d8..ad56782b261 100644 --- a/charts/hedera-mirror/templates/stackgres/stackgres-script-coordinator.yaml +++ b/charts/hedera-mirror/templates/stackgres/stackgres-script-coordinator.yaml @@ -10,6 +10,7 @@ spec: managedVersions: true scripts: - database: postgres + id: 0 name: all-postgres retryOnError: true scriptFrom: @@ -20,6 +21,7 @@ spec: user: postgres wrapInTransaction: serializable - database: {{ .Values.db.name }} + id: 1 name: all-db retryOnError: true scriptFrom: @@ -30,6 +32,7 @@ spec: user: postgres wrapInTransaction: serializable - database: {{ .Values.db.name }} + id: 2 name: coordinator-owner retryOnError: true scriptFrom: @@ -40,6 +43,7 @@ spec: user: {{ .Values.db.owner.username }} wrapInTransaction: serializable - database: {{ .Values.db.name }} + id: 3 name: coordinator-superuser retryOnError: true scriptFrom: diff --git a/charts/hedera-mirror/templates/stackgres/stackgres-script-worker.yaml b/charts/hedera-mirror/templates/stackgres/stackgres-script-worker.yaml index 881743d0b74..bc785724f8e 100644 --- a/charts/hedera-mirror/templates/stackgres/stackgres-script-worker.yaml +++ b/charts/hedera-mirror/templates/stackgres/stackgres-script-worker.yaml @@ -10,6 +10,7 @@ spec: managedVersions: true scripts: - database: postgres + id: 0 name: all-postgres retryOnError: true scriptFrom: @@ -19,6 +20,7 @@ spec: user: postgres wrapInTransaction: serializable - database: {{ .Values.db.name }} + id: 1 name: all-db retryOnError: true scriptFrom: