Skip to content

Commit

Permalink
Add mainnet/testnet switch for BTC,DOGE,LTC
Browse files Browse the repository at this point in the history
  • Loading branch information
dmytro-samoylenko committed Apr 30, 2024
1 parent 94e6012 commit 28ee2fc
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/shkeeper/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 1.3.64
version: 1.3.65

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
12 changes: 12 additions & 0 deletions charts/shkeeper/templates/deployments/bitcoind.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,18 @@ spec:

- name: bitcoind
image: vsyshost/bitcoind
{{- if not .Values.btc.mainnet }}
- /shkeeper/bitcoind
- -testnet
- -rpcport=8332
- -prune=550
- -rpcpassword=$BTC_PASSWORD
- -rpcuser=$BTC_USERNAME
- -rpcbind=0.0.0.0
- -rpcallowip=0.0.0.0/0
- -wallet=shkeeper
- -walletnotify=/shkeeper/walletnotify.sh %s
{{- end }}
env:
- name: BTC_USERNAME
valueFrom:
Expand Down
12 changes: 12 additions & 0 deletions charts/shkeeper/templates/deployments/dogecoind.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,18 @@ spec:

- name: dogecoind
image: vsyshost/dogecoind
{{- if not .Values.doge.mainnet }}
- /shkeeper/dogecoind
- -testnet
- -prune=2200
- -rpcport=22555
- -rpcpassword=$DOGE_PASSWORD
- -rpcuser=$DOGE_USERNAME
- -rpcbind=0.0.0.0
- -rpcallowip=0.0.0.0/0
- -wallet=shkeeper
- -walletnotify=/shkeeper/walletnotify.sh %s
{{- end }}
env:
- name: DOGE_USERNAME
valueFrom:
Expand Down
12 changes: 12 additions & 0 deletions charts/shkeeper/templates/deployments/litecoind.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,18 @@ spec:

- name: litecoind
image: vsyshost/litecoind:0.21.2.2
{{- if not .Values.ltc.mainnet }}
- /shkeeper/litecoind
- -testnet
- -rpcport=9332
- -prune=550
- -rpcpassword=$LTC_PASSWORD
- -rpcuser=$LTC_USERNAME
- -rpcbind=0.0.0.0
- -rpcallowip=0.0.0.0/0
- -wallet=shkeeper
- -walletnotify=/shkeeper/walletnotify.sh %s
{{- end }}
env:
- name: LTC_USERNAME
valueFrom:
Expand Down
3 changes: 3 additions & 0 deletions charts/shkeeper/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,13 @@ shkeeper:

btc:
enabled: true
mainnet: true
ltc:
enabled: true
mainnet: true
doge:
enabled: true
mainnet: true

#
# Tron
Expand Down

0 comments on commit 28ee2fc

Please sign in to comment.