Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: allow running without wallet props if running in-memory ledger #827

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion infrastructure/charts/node/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ spec:
env:
- name: NODE_LEDGER
value: {{ .Values.server.ledger | quote }}
{{- if eq "cardano" .Values.server.ledger }}
- name: NODE_CARDANO_PRISM_GENESIS_BLOCK
value: {{ .Values.server.genesisBlock | quote }}
- name: NODE_MOVE_SCHEDULED_TO_PENDING_PERIOD
Expand Down Expand Up @@ -69,7 +70,6 @@ spec:
name: "{{ .Values.vdr.cardanoNode }}-{{ .Values.vdr.cardanoWallet }}"
key: address
optional: false
{{- if eq "cardano" .Values.server.ledger }}
- name: NODE_CARDANO_DB_SYNC_USERNAME
valueFrom:
secretKeyRef:
Expand Down
2 changes: 2 additions & 0 deletions infrastructure/charts/node/templates/externalsecret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ spec:

---
# Requires wallet to be created (atm it's done through terraform module)
{{- if eq "cardano" .Values.server.ledger }}
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
Expand All @@ -36,3 +37,4 @@ spec:
dataFrom:
- extract:
key: {{ .Values.vdr.cardanoWallet }}
{{- end }}