Skip to content

Commit

Permalink
chore: add LND_PRIORITY env var (#4094)
Browse files Browse the repository at this point in the history
  • Loading branch information
krtk6160 authored Aug 21, 2023
1 parent 1bdd0c2 commit 0d6b8d9
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 0 deletions.
3 changes: 3 additions & 0 deletions charts/galoy/templates/api-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
3 changes: 3 additions & 0 deletions charts/galoy/templates/exporter-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
3 changes: 3 additions & 0 deletions charts/galoy/templates/galoy-cronjob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
3 changes: 3 additions & 0 deletions charts/galoy/templates/trigger-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
3 changes: 3 additions & 0 deletions charts/galoy/templates/websocket-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 2 additions & 0 deletions charts/galoy/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0d6b8d9

Please sign in to comment.