Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion helm/cheqd/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 3 additions & 1 deletion helm/cheqd/conf/localnet/values.yaml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down Expand Up @@ -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
Expand Down
18 changes: 18 additions & 0 deletions helm/cheqd/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -164,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
Expand Down
11 changes: 11 additions & 0 deletions helm/cheqd/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
enable: false
# Log level for the price feeder sidecar service.
log_level: info

config_toml:
#######################################################################
### Main Base Config Options ###
Expand Down