mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
Added geth rpcapi args (#9152)
Signed-off-by: Taiga Nakayama <dora@dora-gt.jp>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
name: ethereum
|
||||
version: 0.1.3
|
||||
version: 0.1.4
|
||||
description: private Ethereum network Helm chart for Kubernetes
|
||||
keywords:
|
||||
- ethereum
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
@@ -30,6 +30,8 @@ geth:
|
||||
replicaCount: 2
|
||||
service:
|
||||
type: ClusterIP
|
||||
args:
|
||||
rpcapi: 'eth,net,web3'
|
||||
miner:
|
||||
# miner nodes
|
||||
replicaCount: 3
|
||||
|
||||
Reference in New Issue
Block a user