Skip to content

Commit

Permalink
Added geth rpcapi args (helm#9152)
Browse files Browse the repository at this point in the history
Signed-off-by: Taiga Nakayama <[email protected]>
  • Loading branch information
dora-gt authored and k8s-ci-robot committed Nov 16, 2018
1 parent b368cef commit ca3105b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion stable/ethereum/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: ethereum
version: 0.1.3
version: 0.1.4
description: private Ethereum network Helm chart for Kubernetes
keywords:
- ethereum
Expand Down
1 change: 1 addition & 0 deletions stable/ethereum/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ The following table lists the configurable parameters of the vault chart and the
| `geth.image.tag` | geth container image tag to deploy | `v1.7.3` |
| `geth.tx.replicaCount` | geth transaction nodes replica count | `2` |
| `geth.tx.service.type` | k8s service type for geth transaction nodes | `ClusterIP` |
| `geth.tx.args.rpcapi` | APIs offered over the HTTP-RPC interface | `eth,net,web3` |
| `geth.miner.replicaCount` | geth miner nodes replica count | `3` |
| `geth.miner.account.secret` | geth account secret | `my-secret-account-password` |
| `geth.genesis.networkId` | Ethereum network id | `98052` |
Expand Down
2 changes: 1 addition & 1 deletion stable/ethereum/templates/geth-tx.deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ spec:
command: ["/bin/sh"]
args:
- "-c"
- "geth --bootnodes=`cat /root/.ethereum/bootnodes` --rpc --rpcaddr 0.0.0.0 --rpcapi=eth,net,web3 --rpccorsdomain='*' --ws --networkid=${NETWORK_ID} --ethstats=${HOSTNAME}:${ETHSTATS_SECRET}@${ETHSTATS_SVC} --verbosity=5"
- "geth --bootnodes=`cat /root/.ethereum/bootnodes` --rpc --rpcaddr 0.0.0.0 --rpcapi={{ .Values.geth.tx.args.rpcapi }} --rpccorsdomain='*' --ws --networkid=${NETWORK_ID} --ethstats=${HOSTNAME}:${ETHSTATS_SECRET}@${ETHSTATS_SVC} --verbosity=5"
env:
- name: ETHSTATS_SVC
value: {{ template "ethereum.fullname" . }}-ethstats.{{ .Release.Namespace }}
Expand Down
2 changes: 2 additions & 0 deletions stable/ethereum/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ geth:
replicaCount: 2
service:
type: ClusterIP
args:
rpcapi: 'eth,net,web3'
miner:
# miner nodes
replicaCount: 3
Expand Down

0 comments on commit ca3105b

Please sign in to comment.