diff --git a/deploy/marlowe-runtime/templates/chain-indexer.yaml b/deploy/marlowe-runtime/templates/chain-indexer.yaml index 722d34c8cf..b8824c619f 100644 --- a/deploy/marlowe-runtime/templates/chain-indexer.yaml +++ b/deploy/marlowe-runtime/templates/chain-indexer.yaml @@ -19,7 +19,7 @@ spec: - name: NODE_CONFIG value: /node-config/network/{{ $network }}/cardano-node/config.json - name: DB_NAME - value: chainsync_{{ $network }} + value: chainsync_{{ $instanceName }}_{{ $network }} - name: DB_USER valueFrom: secretKeyRef: diff --git a/deploy/marlowe-runtime/templates/chain-sync.yaml b/deploy/marlowe-runtime/templates/chain-sync.yaml index 7e3c95967e..11fae497f3 100644 --- a/deploy/marlowe-runtime/templates/chain-sync.yaml +++ b/deploy/marlowe-runtime/templates/chain-sync.yaml @@ -34,7 +34,7 @@ spec: - name: NODE_CONFIG value: /node-config/network/{{ $network }}/cardano-node/config.json - name: DB_NAME - value: chainsync_{{ $network }} + value: chainsync_{{ $instanceName }}_{{ $network }} - name: DB_HOST value: {{ $.Values.databaseHost }}:5432 - name: DB_USER diff --git a/deploy/marlowe-runtime/templates/marlowe-indexer.yaml b/deploy/marlowe-runtime/templates/marlowe-indexer.yaml index bdf90c5a00..a2c5ec4e9d 100644 --- a/deploy/marlowe-runtime/templates/marlowe-indexer.yaml +++ b/deploy/marlowe-runtime/templates/marlowe-indexer.yaml @@ -16,7 +16,7 @@ spec: properties: env: - name: DB_NAME - value: chainsync_{{ . }} + value: chainsync_{{ $instanceName }}_{{ . }} - name: DB_HOST value: {{ $.Values.databaseHost }}:5432 - name: DB_USER diff --git a/deploy/marlowe-runtime/templates/marlowe-sync.yaml b/deploy/marlowe-runtime/templates/marlowe-sync.yaml index d6d4c72727..9f5c8034fc 100644 --- a/deploy/marlowe-runtime/templates/marlowe-sync.yaml +++ b/deploy/marlowe-runtime/templates/marlowe-sync.yaml @@ -30,7 +30,7 @@ spec: - name: MARLOWE_CHAIN_SYNC_QUERY_PORT value: "3716" - name: DB_NAME - value: chainsync_{{ $network }} + value: chainsync_{{ $instanceName }}_{{ $network }} - name: DB_USER valueFrom: secretKeyRef: