From d6de34a19d677de02cfd18929f75b95a5b3d5bc9 Mon Sep 17 00:00:00 2001 From: Scott Rigby Date: Tue, 10 Nov 2020 06:00:39 -0500 Subject: [PATCH] [stable/ethereum] add repo archive notice (#24104) * [stable/ethereum] add repo archive notice Signed-off-by: Scott Rigby * [stable/ethereum] use apps/v1 Signed-off-by: Carlos Panato Co-authored-by: Carlos Panato --- stable/ethereum/Chart.yaml | 2 +- stable/ethereum/README.md | 6 +++++- stable/ethereum/templates/bootnode.deployment.yaml | 6 +++--- stable/ethereum/templates/ethstats.deployment.yaml | 4 ++-- stable/ethereum/templates/geth-miner.deployment.yaml | 8 ++++---- stable/ethereum/templates/geth-tx.deployment.yaml | 8 ++++---- 6 files changed, 19 insertions(+), 15 deletions(-) diff --git a/stable/ethereum/Chart.yaml b/stable/ethereum/Chart.yaml index 6ea657bcaa..22815d822a 100644 --- a/stable/ethereum/Chart.yaml +++ b/stable/ethereum/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: ethereum -version: 1.0.0 +version: 1.0.1 appVersion: v1.7.3 description: private Ethereum network Helm chart for Kubernetes keywords: diff --git a/stable/ethereum/README.md b/stable/ethereum/README.md index 7cd46272ab..3990e57c83 100644 --- a/stable/ethereum/README.md +++ b/stable/ethereum/README.md @@ -1,3 +1,8 @@ +# ⚠️ Repo Archive Notice + +As of Nov 13, 2020, charts in this repo will no longer be updated. +For more information, see the Helm Charts [Deprecation and Archive Notice](https://github.com/helm/charts#%EF%B8%8F-deprecation-and-archive-notice), and [Update](https://helm.sh/blog/charts-repo-deprecation/). + # ethereum [Ethereum](https://www.ethereum.org/) is a decentralized platform for building applications using blockchain. @@ -101,4 +106,3 @@ Alternatively, a YAML file that specifies the values for the above parameters ca ```console $ helm install stable/ethereum -f values.yaml ``` - diff --git a/stable/ethereum/templates/bootnode.deployment.yaml b/stable/ethereum/templates/bootnode.deployment.yaml index 25434e598b..1a58143fb4 100644 --- a/stable/ethereum/templates/bootnode.deployment.yaml +++ b/stable/ethereum/templates/bootnode.deployment.yaml @@ -1,4 +1,4 @@ -apiVersion: apps/v1beta2 +apiVersion: apps/v1 kind: Deployment metadata: name: {{ template "ethereum.fullname" . }}-bootnode @@ -27,7 +27,7 @@ spec: image: {{ .Values.bootnode.image.repository }}:{{ .Values.bootnode.image.tag }} imagePullPolicy: {{ .Values.imagePullPolicy }} command: ["/bin/sh"] - args: + args: - "-c" - "bootnode --nodekey=/etc/bootnode/node.key --verbosity=4" volumeMounts: @@ -71,4 +71,4 @@ spec: {{- with .Values.nodeSelector }} nodeSelector: {{ toYaml . | indent 8 }} - {{- end }} \ No newline at end of file + {{- end }} diff --git a/stable/ethereum/templates/ethstats.deployment.yaml b/stable/ethereum/templates/ethstats.deployment.yaml index 23d64bb61c..d706851dc8 100644 --- a/stable/ethereum/templates/ethstats.deployment.yaml +++ b/stable/ethereum/templates/ethstats.deployment.yaml @@ -1,4 +1,4 @@ -apiVersion: apps/v1beta2 +apiVersion: apps/v1 kind: Deployment metadata: name: {{ template "ethereum.fullname" . }}-ethstats @@ -38,4 +38,4 @@ spec: {{- with .Values.nodeSelector }} nodeSelector: {{ toYaml . | indent 8 }} - {{- end }} \ No newline at end of file + {{- end }} diff --git a/stable/ethereum/templates/geth-miner.deployment.yaml b/stable/ethereum/templates/geth-miner.deployment.yaml index 73a54ebd27..298415557c 100644 --- a/stable/ethereum/templates/geth-miner.deployment.yaml +++ b/stable/ethereum/templates/geth-miner.deployment.yaml @@ -1,4 +1,4 @@ -apiVersion: apps/v1beta2 +apiVersion: apps/v1 kind: Deployment metadata: name: {{ template "ethereum.fullname" . }}-geth-miner @@ -27,7 +27,7 @@ spec: image: {{ .Values.geth.image.repository }}:{{ .Values.geth.image.tag }} imagePullPolicy: {{ .Values.imagePullPolicy }} command: ["/bin/sh"] - args: + args: - "-c" - "geth --bootnodes=`cat /root/.ethereum/bootnodes` --mine --etherbase=0 --networkid=${NETWORK_ID} --ethstats=${HOSTNAME}:${ETHSTATS_SECRET}@${ETHSTATS_SVC} --verbosity=5" env: @@ -94,7 +94,7 @@ spec: volumes: - name: data emptyDir: {} - - name: config + - name: config configMap: name: {{ template "ethereum.fullname" . }}-geth-config - name: account @@ -103,4 +103,4 @@ spec: {{- with .Values.nodeSelector }} nodeSelector: {{ toYaml . | indent 8 }} - {{- end }} \ No newline at end of file + {{- end }} diff --git a/stable/ethereum/templates/geth-tx.deployment.yaml b/stable/ethereum/templates/geth-tx.deployment.yaml index 859b1f4837..8803d86ff8 100644 --- a/stable/ethereum/templates/geth-tx.deployment.yaml +++ b/stable/ethereum/templates/geth-tx.deployment.yaml @@ -1,4 +1,4 @@ -apiVersion: apps/v1beta2 +apiVersion: apps/v1 kind: Deployment metadata: name: {{ template "ethereum.fullname" . }}-geth-tx @@ -27,7 +27,7 @@ spec: image: {{ .Values.geth.image.repository }}:{{ .Values.geth.image.tag }} imagePullPolicy: {{ .Values.imagePullPolicy }} command: ["/bin/sh"] - args: + args: - "-c" - "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: @@ -98,7 +98,7 @@ spec: volumes: - name: data emptyDir: {} - - name: config + - name: config configMap: name: {{ template "ethereum.fullname" . }}-geth-config - name: account @@ -107,4 +107,4 @@ spec: {{- with .Values.nodeSelector }} nodeSelector: {{ toYaml . | indent 8 }} - {{- end }} \ No newline at end of file + {{- end }}