Added geth rpcapi args (#9152)

Signed-off-by: Taiga Nakayama <dora@dora-gt.jp>
This commit is contained in:
どら
2018-11-16 10:25:48 -08:00
committed by k8s-ci-robot
parent b368cef78a
commit ca3105b733
4 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: ethereum
version: 0.1.3
version: 0.1.4
description: private Ethereum network Helm chart for Kubernetes
keywords:
- ethereum
+1
View File
@@ -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` |
@@ -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 }}
+2
View File
@@ -30,6 +30,8 @@ geth:
replicaCount: 2
service:
type: ClusterIP
args:
rpcapi: 'eth,net,web3'
miner:
# miner nodes
replicaCount: 3