Skip to content

Commit

Permalink
chore(helm): Add preview/preprod/sanchonet network configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
rcmorano authored Jan 12, 2024
2 parents 3cceb3d + 9778490 commit c5967ef
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 6 deletions.
12 changes: 6 additions & 6 deletions deploy/cf-ledger-sync/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ spec:
imagePullPolicy: {{ .Values.image.pullPolicy }}
env:
- name: NETWORK
value: "preprod"
value: {{ .Values.network | default "preprod" }}
- name: DB_DIALECT
value: "org.hibernate.dialect.PostgreSQLDialect"
value: {{ .Values.dbDialect | default "org.hibernate.dialect.PostgreSQLDialect" }}
- name: STORE_CARDANO_HOST
value: "preprod-node.world.dev.cardano.org"
value: {{ .Values.storeCardanoHost | default "preprod-node.world.dev.cardano.org" }}
- name: STORE_CARDANO_PORT
value: "30000"
- name: STORE_CARDANO_PROTOCOL-MAGIC
value: "1"
value: {{ .Values.storeCardanoPort | default "30000" | quote }}
- name: STORE_CARDANO_PROTOCOL_MAGIC
value: {{ .Values.storeCardanoProtocolMagic | default "1" | quote }}

## Postgres
- name: POSTGRES_HOST
Expand Down
5 changes: 5 additions & 0 deletions deploy/cf-ledger-sync/values-mainnet.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
dbSchema: mainnet
network: mainnet
storeCardanoHost: backbone.cardano-mainnet.iohk.io
storeCardanoPort: 3001
storeCardanoProtocolMagic: 764824073
5 changes: 5 additions & 0 deletions deploy/cf-ledger-sync/values-preview.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
dbSchema: preview
network: preview
storeCardanoHost: preview-node.play.dev.cardano.org
storeCardanoPort: 3001
storeCardanoProtocolMagic: 2
5 changes: 5 additions & 0 deletions deploy/cf-ledger-sync/values-sanchonet.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
dbSchema: sanchonet
network: sanchonet
storeCardanoHost: sanchonet-node.play.dev.cardano.org
storeCardanoPort: 3001
storeCardanoProtocolMagic: 4

0 comments on commit c5967ef

Please sign in to comment.