Skip to content

Commit

Permalink
fix: only create cardano-wallet secret if running against cardano
Browse files Browse the repository at this point in the history
Signed-off-by: David Poltorak <david.poltorak@iohk.io>
  • Loading branch information
davepoltorak committed Sep 13, 2023
1 parent 199966d commit 8474430
Showing 1 changed file with 2 additions and 0 deletions.
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 }}

0 comments on commit 8474430

Please sign in to comment.