From c12ce05406f2172f848824140d8c6bbc7373d27c Mon Sep 17 00:00:00 2001 From: Robbie Blaine Date: Wed, 14 Jan 2026 14:35:10 +0200 Subject: [PATCH 1/3] :arrow_up: Cheqd 4.2.x --- helm/cheqd/Chart.yaml | 2 +- helm/cheqd/conf/localnet/values.yaml | 2 +- helm/cheqd/templates/statefulset.yaml | 7 +++++++ helm/cheqd/values.yaml | 11 +++++++++++ 4 files changed, 20 insertions(+), 2 deletions(-) diff --git a/helm/cheqd/Chart.yaml b/helm/cheqd/Chart.yaml index e179594f0f..f07b61d583 100644 --- a/helm/cheqd/Chart.yaml +++ b/helm/cheqd/Chart.yaml @@ -3,7 +3,7 @@ name: cheqd description: A Helm chart to deploy Cheqd localnet node in Kubernetes type: application version: 0.1.0 -appVersion: 4.1.6 +appVersion: 4.2.0 # dependencies: # - name: common diff --git a/helm/cheqd/conf/localnet/values.yaml b/helm/cheqd/conf/localnet/values.yaml index 3dd9264a16..b9ce09ac5e 100644 --- a/helm/cheqd/conf/localnet/values.yaml +++ b/helm/cheqd/conf/localnet/values.yaml @@ -1,6 +1,6 @@ # https://github.com/cheqd/cheqd-node image: - tag: 4.1.6 + tag: 4.2.0 podLabels: sidecar.istio.io/inject: "false" diff --git a/helm/cheqd/templates/statefulset.yaml b/helm/cheqd/templates/statefulset.yaml index c9163ab29d..75c47a2222 100644 --- a/helm/cheqd/templates/statefulset.yaml +++ b/helm/cheqd/templates/statefulset.yaml @@ -100,6 +100,13 @@ spec: else echo "Genesis file already exists, skipping download." fi + if [ ! -f /cheqd/config/price-feeder.toml ]; then + echo "Price feeder config not found, downloading..." + wget -qO /cheqd/config/price-feeder.toml \ + https://raw.githubusercontent.com/cheqd/cheqd-node/refs/tags/v{{ .Values.image.tag | default .Chart.AppVersion }}/pricefeeder/price-feeder.toml + else + echo "Price feeder config already exists, skipping download." + fi volumeMounts: - name: data mountPath: /cheqd diff --git a/helm/cheqd/values.yaml b/helm/cheqd/values.yaml index 61ed70aafe..9be99fec1b 100644 --- a/helm/cheqd/values.yaml +++ b/helm/cheqd/values.yaml @@ -489,6 +489,17 @@ config: # implementations. max-txs: 5000 + ############################################################################### + ### Price Feeder Configuration ### + ############################################################################### + pricefeeder: + # Absolute path to the price feeder configuration file. + config_path: /home/cheqd/.cheqdnode/config/price-feeder.toml + # Enable defines if the price feeder service should be enabled. + enabled: false + # Log level for the price feeder sidecar service. + log_level: info + config_toml: ####################################################################### ### Main Base Config Options ### From 3832e52e9d34a3604c36b20a64cea98fb219caaf Mon Sep 17 00:00:00 2001 From: Robbie Blaine Date: Wed, 14 Jan 2026 15:36:11 +0200 Subject: [PATCH 2/3] :wrench: Fix pricefeeder config key and enable for localnet Rename `enabled` to `enable` in the default values for the price feeder configuration to match the expected key name. Additionally, enable the price feeder service for the localnet environment by adding the `pricefeeder` section to the localnet values override. --- helm/cheqd/conf/localnet/values.yaml | 2 ++ helm/cheqd/values.yaml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/helm/cheqd/conf/localnet/values.yaml b/helm/cheqd/conf/localnet/values.yaml index b9ce09ac5e..a8866c319b 100644 --- a/helm/cheqd/conf/localnet/values.yaml +++ b/helm/cheqd/conf/localnet/values.yaml @@ -44,6 +44,8 @@ network: localnet config: app_toml: minimum-gas-prices: 50ncheq + pricefeeder: + enable: true config_toml: moniker: ACA-Py Cloud Cheqd Localnet log_level: warn # Options: trace, debug, info, warn, error, fatal, panic diff --git a/helm/cheqd/values.yaml b/helm/cheqd/values.yaml index 9be99fec1b..efd3bba59b 100644 --- a/helm/cheqd/values.yaml +++ b/helm/cheqd/values.yaml @@ -496,7 +496,7 @@ config: # Absolute path to the price feeder configuration file. config_path: /home/cheqd/.cheqdnode/config/price-feeder.toml # Enable defines if the price feeder service should be enabled. - enabled: false + enable: false # Log level for the price feeder sidecar service. log_level: info From bb375d82e82cec91bfa936120f4e0b54ea14e554 Mon Sep 17 00:00:00 2001 From: Robbie Blaine Date: Wed, 14 Jan 2026 15:47:50 +0200 Subject: [PATCH 3/3] :recycle: Extract price feeder download to init container Move the price feeder configuration download logic from the `download-genesis` init container into a dedicated `download-price-feeder` init container. This change improves separation of concerns by isolating the price feeder setup from the genesis file initialization, making the StatefulSet configuration more modular and easier to maintain. Changes: * Remove price feeder download from `download-genesis` * Add new `download-price-feeder` init container with same download logic * Both init containers now have single, focused responsibilities --- helm/cheqd/templates/statefulset.yaml | 25 ++++++++++++++++++------- 1 file changed, 18 insertions(+), 7 deletions(-) diff --git a/helm/cheqd/templates/statefulset.yaml b/helm/cheqd/templates/statefulset.yaml index 75c47a2222..3be3fdbadc 100644 --- a/helm/cheqd/templates/statefulset.yaml +++ b/helm/cheqd/templates/statefulset.yaml @@ -100,13 +100,6 @@ spec: else echo "Genesis file already exists, skipping download." fi - if [ ! -f /cheqd/config/price-feeder.toml ]; then - echo "Price feeder config not found, downloading..." - wget -qO /cheqd/config/price-feeder.toml \ - https://raw.githubusercontent.com/cheqd/cheqd-node/refs/tags/v{{ .Values.image.tag | default .Chart.AppVersion }}/pricefeeder/price-feeder.toml - else - echo "Price feeder config already exists, skipping download." - fi volumeMounts: - name: data mountPath: /cheqd @@ -171,6 +164,24 @@ spec: - name: data mountPath: /cheqd {{- end }} + - name: download-price-feeder + image: docker.io/busybox + imagePullPolicy: IfNotPresent + command: + - sh + - -c + - | + mkdir -p /cheqd/config + if [ ! -f /cheqd/config/price-feeder.toml ]; then + echo "Price feeder config not found, downloading..." + wget -qO /cheqd/config/price-feeder.toml \ + https://raw.githubusercontent.com/cheqd/cheqd-node/refs/tags/v{{ .Values.image.tag | default .Chart.AppVersion }}/pricefeeder/price-feeder.toml + else + echo "Price feeder config already exists, skipping download." + fi + volumeMounts: + - name: data + mountPath: /cheqd {{- if .Values.lbService.enabled }} - name: discover-lb-hostname image: ghcr.io/didx-xyz/bitnami-oss/kubectl:latest