chore(clickhouse): use histogram-quantile release assets (#611)

### Chores

- clickhouse: use histogram-quantile release assets
- bump clickhouse chart to 24.1.15

---------

Signed-off-by: Prashant Shahi <prashant@signoz.io>
This commit is contained in:
Prashant Shahi
2025-01-27 15:37:02 +05:45
committed by GitHub
parent 73bd54725f
commit 3301db4cce
4 changed files with 25 additions and 9 deletions

2
.gitignore vendored
View File

@@ -1,6 +1,8 @@
### macOS ###
# General
.DS_Store
# Local
.local/
### Helm ###
# Chart dependencies

View File

@@ -2,7 +2,7 @@ apiVersion: v2
name: clickhouse
description: A Helm chart for ClickHouse
type: application
version: 24.1.14
version: 24.1.15
appVersion: "24.1.2"
icon: https://github.com/ClickHouse/clickhouse-docs/raw/84f38d893eb7e561c7296279d7953b6a508ec413/static/img/clickhouse-logo.svg
sources:

View File

@@ -355,10 +355,17 @@ initContainers:
- sh
- -c
- |
set -x
wget -O /tmp/histogramQuantile https://github.com/SigNoz/signoz/raw/main/deploy/docker/clickhouse-setup/user_scripts/histogramQuantile
mv /tmp/histogramQuantile /var/lib/clickhouse/user_scripts/histogramQuantile
chmod +x /var/lib/clickhouse/user_scripts/histogramQuantile
set -e
version="v0.0.1"
node_os=$(uname -s | tr '[:upper:]' '[:lower:]')
node_arch=$(uname -m | sed s/aarch64/arm64/ | sed s/x86_64/amd64/)
echo "Fetching histogram-binary for ${node_os}/${node_arch}"
cd /tmp
wget -O histogram-quantile.tar.gz "https://github.com/SigNoz/signoz/releases/download/histogram-quantile%2F${version}/histogram-quantile_${node_os}_${node_arch}.tar.gz"
tar -xzf histogram-quantile.tar.gz
chmod +x histogram-quantile
mv histogram-quantile /var/lib/clickhouse/user_scripts/histogramQuantile
echo "histogram-quantile installed successfully"
init:
enabled: false
image:

View File

@@ -254,10 +254,17 @@ clickhouse:
- sh
- -c
- |
set -x
wget -O /tmp/histogramQuantile https://github.com/SigNoz/signoz/raw/main/deploy/docker/clickhouse-setup/user_scripts/histogramQuantile
mv /tmp/histogramQuantile /var/lib/clickhouse/user_scripts/histogramQuantile
chmod +x /var/lib/clickhouse/user_scripts/histogramQuantile
set -e
version="v0.0.1"
node_os=$(uname -s | tr '[:upper:]' '[:lower:]')
node_arch=$(uname -m | sed s/aarch64/arm64/ | sed s/x86_64/amd64/)
echo "Fetching histogram-binary for ${node_os}/${node_arch}"
cd /tmp
wget -O histogram-quantile.tar.gz "https://github.com/SigNoz/signoz/releases/download/histogram-quantile%2F${version}/histogram-quantile_${node_os}_${node_arch}.tar.gz"
tar -xzf histogram-quantile.tar.gz
chmod +x histogram-quantile
mv histogram-quantile /var/lib/clickhouse/user_scripts/histogramQuantile
echo "histogram-quantile installed successfully"
init:
enabled: false
image: