Skip to content

Commit

Permalink
set loop secrets optional for signet galoy values
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name committed Sep 21, 2022
1 parent b94e7ab commit 1edcfb7
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 39 deletions.
4 changes: 4 additions & 0 deletions charts/galoy/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ Return Galoy environment variables for LND 1 configuration
secretKeyRef:
name: {{ .Values.galoy.lnd1.pubkeyExistingSecret.name }}
key: {{ .Values.galoy.lnd1.pubkeyExistingSecret.key }}
{{ if .Values.loop.enabled }}
- name: LND1_LOOP_MACAROON
valueFrom:
secretKeyRef:
Expand All @@ -156,6 +157,7 @@ Return Galoy environment variables for LND 1 configuration
secretKeyRef:
name: {{ .Values.galoy.lnd1.loopCredentialsExistingSecret.name }}
key: {{ .Values.galoy.lnd1.loopCredentialsExistingSecret.tls_key }}
{{ end }}
{{- end -}}

{{/*
Expand All @@ -179,6 +181,7 @@ Return Galoy environment variables for LND 2 configuration
secretKeyRef:
name: {{ .Values.galoy.lnd2.pubkeyExistingSecret.name }}
key: {{ .Values.galoy.lnd2.pubkeyExistingSecret.key }}
{{ if .Values.loop.enabled }}
- name: LND2_LOOP_MACAROON
valueFrom:
secretKeyRef:
Expand All @@ -189,6 +192,7 @@ Return Galoy environment variables for LND 2 configuration
secretKeyRef:
name: {{ .Values.galoy.lnd2.loopCredentialsExistingSecret.name }}
key: {{ .Values.galoy.lnd2.loopCredentialsExistingSecret.tls_key }}
{{ end }}
{{- end -}}

{{/*
Expand Down
2 changes: 2 additions & 0 deletions charts/galoy/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -575,3 +575,5 @@ postgresql:
username: price-history
database: price-history
existingSecret: galoy-price-history-postgres-creds
loop:
enabled: true
9 changes: 9 additions & 0 deletions dev/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,14 @@ deploy-signet:
all-signet: create-cluster init deploy-signet-services deploy-signet


deploy-signet-galoy:
cd galoy
$(TF) apply -var="bitcoin_network=signet" \
-var="name_prefix=galoy-sig" -auto-approve

delete-signet-galoy:
kubectl delete namespace galoy-sig-galoy --force


fmt:
$(TF) fmt -recursive
73 changes: 34 additions & 39 deletions dev/galoy/galoy-signet-values.yml
Original file line number Diff line number Diff line change
@@ -1,40 +1,36 @@
global:
network: signet

galoy:
test_accounts:
- ref: A
phone: "+59981730222"
code: "111111"
needUsdWallet: true
role: bankowner
username: bankowner
apollo:
playground: true

apiIngress:
name: api-ingress
host: localhost

bitcoind:
port: 38332

needFirebaseServiceAccount: false

lnd1:
dns: lnd1.galoy-dev-bitcoin.svc.cluster.local

lnd2:
dns: lnd1.galoy-dev-bitcoin.svc.cluster.local
network: signet

jwtSecret: "my_non_secured_secret"
config:
test_accounts:
- ref: A
phone: "+59981730222"
code: "111111"
needUsdWallet: true
role: bankowner
username: bankowner
apollo:
playground: true

bitcoind:
dns: bitcoind.galoy-sig-bitcoin.svc.cluster.local
port: 38332

lnd1:
dns: lnd1.galoy-sig-bitcoin.svc.cluster.local

lnd2:
dns: lnd1.galoy-sig-bitcoin.svc.cluster.local

dealer:
host: dealer-price.galoy-sig-addons.svc.cluster.local

mongodb:
architecture: standalone
volumePermissions:
enabled: true
persistence:
enabled: false
enabled: true
replicaCount: 1
metrics:
enabled: false
Expand All @@ -47,21 +43,20 @@ redis:
replicaCount: 1
master:
persistence:
enabled: false
enabled: true
metrics:
enabled: false

mongodbaddress: "galoy-mongodb"

cron: []

twilio: false

price:
service:
type: NodePort
postgresql:
primary:
persistence:
enabled: true

devDisableMongoBackup: true
secrets:
create: false

dealer_price:
host: dealer-price.galoy-dev-addons.svc.cluster.local
loop:
enabled: false

0 comments on commit 1edcfb7

Please sign in to comment.