diff --git a/charts/celo-fullnode/Chart.yaml b/charts/celo-fullnode/Chart.yaml index ec11a622..18557a3c 100644 --- a/charts/celo-fullnode/Chart.yaml +++ b/charts/celo-fullnode/Chart.yaml @@ -19,7 +19,7 @@ keywords: - Validator - Ethereum - Proof-of-Stake -version: 0.5.6 +version: 0.5.7 dependencies: - name: common repository: oci://us-west1-docker.pkg.dev/devopsre/clabs-public-oci diff --git a/charts/celo-fullnode/README.md b/charts/celo-fullnode/README.md index 9ecba1b1..819e5959 100644 --- a/charts/celo-fullnode/README.md +++ b/charts/celo-fullnode/README.md @@ -2,7 +2,7 @@ Helm chart for deploying a Celo fullnode. More info at https://docs.celo.org -![Version: 0.5.6](https://img.shields.io/badge/Version-0.5.6-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.6.0](https://img.shields.io/badge/AppVersion-1.6.0-informational?style=flat-square) +![Version: 0.5.7](https://img.shields.io/badge/Version-0.5.7-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.6.0](https://img.shields.io/badge/AppVersion-1.6.0-informational?style=flat-square) - [celo-fullnode](#celo-fullnode) - [Chart requirements](#chart-requirements) @@ -34,7 +34,7 @@ To install/manage a release named `celo-mainnet-fullnode` connected to `mainnet` ```bash # Select the chart release to use -CHART_RELEASE="oci://us-west1-docker.pkg.dev/celo-testnet/clabs-public-oci/celo-fullnode --version=0.5.6" # Use remote chart and specific version +CHART_RELEASE="oci://us-west1-docker.pkg.dev/celo-testnet/clabs-public-oci/celo-fullnode --version=0.5.7" # Use remote chart and specific version CHART_RELEASE="./" # Use this local folder # (Only for local chart) Sync helm dependencies diff --git a/charts/celo-fullnode/templates/sts.yaml b/charts/celo-fullnode/templates/sts.yaml index 28f80113..c634201d 100644 --- a/charts/celo-fullnode/templates/sts.yaml +++ b/charts/celo-fullnode/templates/sts.yaml @@ -1,3 +1,4 @@ +{{- $pprof := .Values.geth.pprof | default dict }} apiVersion: apps/v1 kind: StatefulSet metadata: @@ -48,7 +49,7 @@ spec: component: celo-fullnode annotations: clabs.co/images: "{{ .Values.geth.image.repository }}:{{ .Values.geth.image.tag }}" - {{- include "common.prometheus-annotations" (dict "pprof" .Values.geth.pprof ) | nindent 8 }} + {{- include "common.prometheus-annotations" (dict "pprof" $pprof ) | nindent 8 }} spec: {{- if .Values.geth.use_gstorage_data | default false }} serviceAccountName: gcloud-storage-access @@ -93,7 +94,25 @@ spec: fieldPath: metadata.name {{- end }} containers: - {{- include "common.full-node-container" (dict "Values" $.Values "Release" $.Release "Chart" $.Chart "expose" true "ip_addresses" .Values.geth.public_ip_per_node "syncmode" .Values.geth.syncmode "gcmode" .Values.geth.gcmode "rpc_apis" .Values.geth.rpc_apis "pprof" (or (.Values.metrics) (.Values.geth.pprof.enabled)) "pprof_port" (.Values.geth.pprof.port) "metrics" (or (.Values.metrics) (.Values.metrics)) "ports" .Values.geth.service_node_port_per_full_node "light_serve" .Values.geth.light.serve "light_maxpeers" .Values.geth.light.maxpeers "maxpeers" .Values.geth.maxpeers "geth_flags" (.Values.geth.flags | default "") "extra_setup" (include "celo-fullnode.extra_setup" .)) | nindent 8 }} + {{- include "common.full-node-container" (dict + "Values" $.Values + "Release" $.Release + "Chart" $.Chart + "expose" true + "ip_addresses" .Values.geth.public_ip_per_node + "syncmode" .Values.geth.syncmode + "gcmode" .Values.geth.gcmode + "rpc_apis" .Values.geth.rpc_apis + "pprof" (or (.Values.metrics) ($pprof.enabled)) + "pprof_port" $pprof.port + "metrics" .Values.metrics + "ports" .Values.geth.service_node_port_per_full_node + "light_serve" .Values.geth.light.serve + "light_maxpeers" .Values.geth.light.maxpeers + "maxpeers" .Values.geth.maxpeers + "geth_flags" (.Values.geth.flags | default "") + "extra_setup" (include "celo-fullnode.extra_setup" .) + ) | nindent 8 }} {{- if .Values.geth.create_network_endpoint_group }} {{- include "celo-fullnode.health-checker-server" (dict "protocol_name" "http" "tcp_check_port" 8545 "server_port" 6000) | nindent 8 }} {{- include "celo-fullnode.health-checker-server" (dict "protocol_name" "ws" "tcp_check_port" .Values.geth.ws_port "server_port" 6001) | nindent 8 }}