diff --git a/charts/galoy/templates/api-deployment.yaml b/charts/galoy/templates/api-deployment.yaml index 89d1da5e0e..64d08fbdb2 100644 --- a/charts/galoy/templates/api-deployment.yaml +++ b/charts/galoy/templates/api-deployment.yaml @@ -87,6 +87,9 @@ spec: secretKeyRef: name: {{ .Values.galoy.proxyCheckExistingSecret.name }} key: {{ .Values.galoy.proxyCheckExistingSecret.key }} + + - name: LND_PRIORITY + value: {{ .Values.galoy.lndPriority }} {{/* Databases */}} {{ include "galoy.mongodb.env" . | indent 8 }} {{ include "galoy.redis.env" . | indent 8 }} diff --git a/charts/galoy/templates/exporter-deployment.yaml b/charts/galoy/templates/exporter-deployment.yaml index 2b12ca378b..5714a23254 100644 --- a/charts/galoy/templates/exporter-deployment.yaml +++ b/charts/galoy/templates/exporter-deployment.yaml @@ -86,6 +86,9 @@ spec: name: {{ .Values.galoy.proxyCheckExistingSecret.name }} key: {{ .Values.galoy.proxyCheckExistingSecret.key }} + - name: LND_PRIORITY + value: {{ .Values.galoy.lndPriority }} + {{/* Databases */}} {{ include "galoy.mongodb.env" . | indent 8 }} {{ include "galoy.redis.env" . | indent 8 }} diff --git a/charts/galoy/templates/galoy-cronjob.yaml b/charts/galoy/templates/galoy-cronjob.yaml index 8b9bc6c683..f2e41f9a30 100644 --- a/charts/galoy/templates/galoy-cronjob.yaml +++ b/charts/galoy/templates/galoy-cronjob.yaml @@ -67,6 +67,9 @@ spec: name: {{ .Values.galoy.proxyCheckExistingSecret.name }} key: {{ .Values.galoy.proxyCheckExistingSecret.key }} + - name: LND_PRIORITY + value: {{ .Values.galoy.lndPriority }} + {{/* Databases */}} {{ include "galoy.mongodb.env" . | indent 12 }} {{ include "galoy.redis.env" . | indent 12 }} diff --git a/charts/galoy/templates/trigger-deployment.yaml b/charts/galoy/templates/trigger-deployment.yaml index bbad49a146..353b632ab9 100644 --- a/charts/galoy/templates/trigger-deployment.yaml +++ b/charts/galoy/templates/trigger-deployment.yaml @@ -79,6 +79,9 @@ spec: name: {{ .Values.galoy.proxyCheckExistingSecret.name }} key: {{ .Values.galoy.proxyCheckExistingSecret.key }} + - name: LND_PRIORITY + value: {{ .Values.galoy.lndPriority }} + {{/* Databases */}} {{ include "galoy.mongodb.env" . | indent 8 }} {{ include "galoy.redis.env" . | indent 8 }} diff --git a/charts/galoy/templates/websocket-deployment.yaml b/charts/galoy/templates/websocket-deployment.yaml index c68720f2cc..3df4397066 100644 --- a/charts/galoy/templates/websocket-deployment.yaml +++ b/charts/galoy/templates/websocket-deployment.yaml @@ -106,6 +106,9 @@ spec: name: {{ .Values.galoy.proxyCheckExistingSecret.name }} key: {{ .Values.galoy.proxyCheckExistingSecret.key }} + - name: LND_PRIORITY + value: {{ .Values.galoy.lndPriority }} + {{ if .Values.galoy.websocket.firebaseNotifications.enabled }} - name: GOOGLE_APPLICATION_CREDENTIALS value: "/tmp/firebase-service-account/service-account.json" diff --git a/charts/galoy/values.yaml b/charts/galoy/values.yaml index 549053fa51..877261121b 100644 --- a/charts/galoy/values.yaml +++ b/charts/galoy/values.yaml @@ -17,6 +17,8 @@ galoy: ## router: port: 80 + # LND used as primary lightning node, can be either lnd1 or lnd2 + lndPriority: lnd1 config: bria: hotWalletName: dev