Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
5670b89
feat: add deployment strategy configuration to helm chart
Slach Aug 12, 2025
9dfe555
add clickhouse-operator deployment strategy parameter to Helm chart
Slach Aug 12, 2025
e7f93d8
Merge branch '0.25.4' of github.com:Altinity/clickhouse-operator into…
Slach Sep 15, 2025
bb20b12
add values.schema.json, fix https://github.com/Altinity/clickhouse-op…
Slach Sep 15, 2025
8006a9a
(no commit message provided)
Slach Sep 16, 2025
2890a9e
(no commit message provided)
Slach Sep 16, 2025
51c81d6
(no commit message provided)
Slach Sep 16, 2025
d3154ce
update values.schema.json and remove schema regenerate from generate_…
Slach Sep 16, 2025
65cd3d5
add helm hooks for upgrade CRDs via Job instead of manually upgrade CRDs
Slach Nov 20, 2025
494b05c
merge fixes for values.schema.json for Helm validation from 0.25.6
Slach Nov 20, 2025
79c07ab
Merge branch '0.25.6' of github.com:Altinity/clickhouse-operator into…
Slach Nov 20, 2025
19531fb
incresing timeout for waiting CHI Complete
Slach Nov 20, 2025
f7bceac
build images locally to avoid situation when docker hub images
Slach Nov 21, 2025
000b930
Merge branch 'hotfix_static_curl' into improve_helm
Slach Nov 21, 2025
53b6155
fix CI/CD check_helm.yaml to build docker image if it not present
Slach Nov 21, 2025
7e08c91
fix CI/CD check_helm.yaml to build docker image if it not present
Slach Nov 21, 2025
ad33f43
fix CI/CD check_helm.yaml to build docker image if it not present
Slach Nov 21, 2025
49ee7d7
Merge branch '0.25.6' of github.com:Altinity/clickhouse-operator into…
Slach Nov 25, 2025
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
34 changes: 31 additions & 3 deletions .github/workflows/check_helm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,34 @@ jobs:
- name: Local Helm Test
run: |
set -xe
export CHO_RELEASE=$(cat release)
IMAGES=(
"altinity/clickhouse-operator:${CHO_RELEASE}"
"altinity/metrics-exporter:${CHO_RELEASE}"
)
need_build=false
echo "Checking images in registry…"
for img in "${IMAGES[@]}"; do
if docker manifest inspect "$img" >/dev/null 2>&1; then
echo "✔ Image exists: $img"
else
echo "✖ Image missing: $img"
need_build=true
fi
done

if [[ "$need_build" = true ]]; then
export GO_VERSION=$(grep '^go ' go.mod | awk '{print $2}')

docker build -f dockerfile/operator/Dockerfile --build-arg GO_VERSION=${GO_VERSION} -t altinity/clickhouse-operator:${CHO_RELEASE} --pull .
docker build -f dockerfile/metrics-exporter/Dockerfile --build-arg GO_VERSION=${GO_VERSION} -t altinity/metrics-exporter:${CHO_RELEASE} --pull .

docker image save altinity/clickhouse-operator:${CHO_RELEASE} -o operator.tar
docker image save altinity/metrics-exporter:${CHO_RELEASE} -o metrics-exporter.tar

minikube image load operator.tar
minikube image load metrics-exporter.tar
fi
minikube kubectl create ns test
./dev/generate_helm_chart.sh
helm install -n test test-operator ./deploy/helm/clickhouse-operator/
Expand All @@ -48,6 +76,6 @@ jobs:
exit 1
fi
kubectl apply -n test -f ./docs/chi-examples/01-simple-layout-01-1shard-1repl.yaml
kubectl wait -n test --for=create chi/simple-01 --timeout=60s
kubectl wait -n test --for=jsonpath='{.status.status}'=Completed chi/simple-01 --timeout=1m
kubectl wait -n test --for=condition=Ready pod/chi-simple-01-simple-0-0-0
kubectl wait -n test --for=create chi/simple-01 --timeout=1m
kubectl wait -n test --for=jsonpath='{.status.status}'=Completed chi/simple-01 --timeout=3m
kubectl wait -n test --for=condition=Ready pod/chi-simple-01-simple-0-0-0 --timeout=3m
Loading
Loading