From fcab6d452c0793219b85fdc6062771a4ae86cc66 Mon Sep 17 00:00:00 2001 From: Bartek Tofel Date: Thu, 25 Apr 2024 11:23:41 +0200 Subject: [PATCH 1/2] bump k8s geth to 1.12.2 --- charts/geth/Chart.yaml | 2 +- charts/geth/templates/geth-deployment.yml | 16 ++++------------ charts/geth/values.yaml | 2 +- k8s/pkg/helm/ethereum/geth.go | 2 +- 4 files changed, 7 insertions(+), 15 deletions(-) diff --git a/charts/geth/Chart.yaml b/charts/geth/Chart.yaml index d5da11071..f77ea391e 100644 --- a/charts/geth/Chart.yaml +++ b/charts/geth/Chart.yaml @@ -2,4 +2,4 @@ apiVersion: v1 name: geth description: A simulated go-ethereum network version: 0.4.3 -appVersion: '1.10.25' +appVersion: '1.12.2' diff --git a/charts/geth/templates/geth-deployment.yml b/charts/geth/templates/geth-deployment.yml index 2cdfe9b20..36a5383e2 100644 --- a/charts/geth/templates/geth-deployment.yml +++ b/charts/geth/templates/geth-deployment.yml @@ -62,10 +62,6 @@ spec: - '/root/.ethereum/devchain' - '--unlock' - '0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266' - - '--unlock' - - '0x70997970C51812dc3A010C7d01b50e0d17dc79C8' - - '--unlock' - - '0x3C44CdDdB6a900fa2b585dd299e03d12FA4293BC' - '--mine' - '--miner.etherbase' - '0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266' @@ -73,10 +69,14 @@ spec: - '--http' - '--http.vhosts' - '*' + - '--http.api' + - 'admin,debug,web3,eth,txpool,personal,clique,miner,net' - '--http.addr' - '0.0.0.0' - '--http.port=8544' - '--ws' + - '--ws.api' + - 'admin,debug,web3,eth,txpool,personal,clique,miner,net' - '--ws.origins' - '*' - '--ws.addr' @@ -95,14 +95,6 @@ spec: - '0' - '--dev.period' - '{{ .Values.geth.blocktime }}' - - '--miner.threads' - - '1' - - '--miner.gasprice' - - '10000000000' - - '--miner.gastarget' - - '80000000000' - - '--miner.gaslimit' - - '{{ .Values.geth.targetGasLimit }}' - '--dev.gaslimit' - '{{ .Values.geth.startGaslimit }}' ports: diff --git a/charts/geth/values.yaml b/charts/geth/values.yaml index 69489f3fd..cda9468d1 100644 --- a/charts/geth/values.yaml +++ b/charts/geth/values.yaml @@ -3,7 +3,7 @@ replicas: 1 geth: image: image: ethereum/client-go - version: v1.10.25 + version: v1.12.2 networkid: 1337 blocktime: 1 diff --git a/k8s/pkg/helm/ethereum/geth.go b/k8s/pkg/helm/ethereum/geth.go index cff814090..9f1c75b2b 100644 --- a/k8s/pkg/helm/ethereum/geth.go +++ b/k8s/pkg/helm/ethereum/geth.go @@ -113,7 +113,7 @@ func defaultProps() *Props { "geth": map[string]interface{}{ "image": map[string]interface{}{ "image": gethImage, - "version": "v1.10.25", + "version": "v1.12.2", }, }, "resources": map[string]interface{}{ From 5dc8818b93f231b5055d068317b0d30b9a1ef992 Mon Sep 17 00:00:00 2001 From: Bartek Tofel Date: Thu, 25 Apr 2024 13:57:24 +0200 Subject: [PATCH 2/2] bump chart version --- charts/geth/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/geth/Chart.yaml b/charts/geth/Chart.yaml index f77ea391e..11423062d 100644 --- a/charts/geth/Chart.yaml +++ b/charts/geth/Chart.yaml @@ -1,5 +1,5 @@ apiVersion: v1 name: geth description: A simulated go-ethereum network -version: 0.4.3 +version: 0.4.4 appVersion: '1.12.2'