Skip to content

Commit 1802c38

Browse files
authored
Merge pull request #7 from wcatz/fix-config-for-node-addr
fix(configmap): expects a string
2 parents 6ff025a + aec0a99 commit 1802c38

File tree

3 files changed

+11
-4
lines changed

3 files changed

+11
-4
lines changed

helm-chart/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ apiVersion: v2
22
name: goduckbot
33
description: A Cardano stake pool notification bot for Telegram and Twitter
44
type: application
5-
version: 0.1.2
5+
version: 0.1.3
66
appVersion: "latest"

helm-chart/templates/configmap.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,11 @@ data:
1212
poolId: {{ .Values.config.poolId | quote }}
1313
ticker: {{ .Values.config.ticker | quote }}
1414
poolName: {{ .Values.config.poolName | quote }}
15-
nodeAddress: {{ .Values.config.nodeAddress | quote }}
15+
nodeAddress:
16+
host1: {{ .Values.config.nodeAddress.host1 | quote }}
17+
{{- if .Values.config.nodeAddress.host2 }}
18+
host2: {{ .Values.config.nodeAddress.host2 | quote }}
19+
{{- end }}
1620
networkMagic: {{ .Values.config.networkMagic | int }}
1721
telegram:
1822
channel: {{ .Values.config.telegram.channel | quote }}

helm-chart/values.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,18 @@ name: goduckbot
66
image:
77
repository: wcatz/goduckbot
88
pullPolicy: IfNotPresent
9-
tag: "1.0.0"
9+
tag: "latest"
1010

1111
resources: {}
1212

1313
config:
1414
poolId: ""
1515
ticker: ""
1616
poolName: ""
17-
nodeAddress: "cardano-node-mainnet-az1.cardano.svc.cluster.local:3001"
17+
nodeAddress:
18+
host1: ""
19+
# optional
20+
host2: ""
1821
networkMagic: 764824073
1922

2023
telegram:

0 commit comments

Comments
 (0)