8000 0.26.1 by alex-zaitsev · Pull Request #1942 · Altinity/clickhouse-operator · GitHub
[go: up one dir, main page]

Skip to content
Merged

0.26.1 #1942

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
7dac9d5
0.26.1
sunsingerus Feb 27, 2026
f695cd9
env: manifests
sunsingerus Feb 27, 2026
0f387ab
env: helm
sunsingerus Feb 27, 2026
2574147
build(deps): bump go.opentelemetry.io/otel/sdk from 1.24.0 to 1.40.0
dependabot[bot] Mar 1, 2026
5834d35
Update tests to altinity/clickhouse-server:25.8.16.10001.altinitystable
alex-zaitsev Mar 2, 2026
760c5e2
Merge pull request #1933 from Altinity/dependabot/go_modules/go.opent…
Slach Mar 2, 2026
2e79837
dev: liner
sunsingerus Mar 3, 2026
60809bc
dev: introduce openshift annotations
sunsingerus Mar 3, 2026
dff1254
dev: add openshift version
sunsingerus Mar 3, 2026
4f6b86c
dev: rework releaser
sunsingerus Mar 3, 2026
ce535d7
Merge branch '0.26.0' into 0.26.1
sunsingerus Mar 3, 2026
0c44775
Merge remote-tracking branch 'altinity/0.26.1' into 0.26.1
sunsingerus Mar 3, 2026
e62db2c
Revert "build(deps): bump go.opentelemetry.io/otel/sdk from 1.24.0 to…
sunsingerus Mar 3, 2026
5499093
dev: streamline normalizer
sunsingerus Mar 4, 2026
fc881dd
dev: tune probes aggignment
sunsingerus Mar 4, 2026
ba8011e
dev: streamline normalizer
sunsingerus Mar 4, 2026
16de652
dev: rework chk probes
sunsingerus Mar 4, 2026
a38f435
dev: streamline normalizer
sunsingerus Mar 4, 2026
08a1849
Confirm CHK resources are deleted
alex-zaitsev Mar 4, 2026
28ee282
Fix
alex-zaitsev Mar 4, 2026
addb9ca
dev: fqdn normalization tools
sunsingerus Mar 5, 2026
2435bd7
dev: all chi status fqdns has to be normalized
sunsingerus Mar 5, 2026
7429620
dev: minnor chk
sunsingerus Mar 5, 2026
b9876d7
Merge remote-tracking branch 'altinity/0.26.1' into 0.26.1
sunsingerus Mar 5, 2026
feba8cb
dev: formetter
sunsingerus Mar 5, 2026
fb231d2
Check that hostsWithTablesCreated are properly populated in status
alex-zaitsev Mar 5, 2026
5a0128e
Merge remote-tracking branch 'altinity/0.26.1' into 0.26.1
sunsingerus Mar 5, 2026
f809de0
Document custom service template behaviour for ClickHouseKeeperInstal…
realyota Mar 6, 2026
4341b8b
Merge pull request #1939 from realyota/replica-service-template-chk
sunsingerus Mar 9, 2026
b16b18a
Merge remote-tracking branch 'altinity/0.26.1' into 0.26.1
sunsingerus Mar 9, 2026
84facf5
test: start preparation to pvc
sunsingerus Mar 9, 2026
453fb1c
tests: test 53
sunsingerus Mar 9, 2026
05c314a
dev: normalize endpoins
sunsingerus Mar 9, 2026
1d5fd95
dev: same for chk
sunsingerus Mar 9, 2026
cb35b0a
test: fix test 11
sunsingerus Mar 10, 2026
17f5f9d
dev: clarify process
sunsingerus Mar 10, 2026
fcad941
dev: add crd monitofring for chk handler
sunsingerus Mar 10, 2026
55684eb
dev: claridy chi deletion protocol
sunsingerus Mar 10, 2026
c31c4a8
dev: introduce chk finalizer
sunsingerus Mar 10, 2026
e378664
dev: deploy chk finalizer
sunsingerus Mar 10, 2026
74e6f01
dev: rework chk deletion protocol
sunsingerus Mar 10, 2026
5b852af
dev: enhanse finalizer work
sunsingerus Mar 10, 2026
94796e9
tests: fixes
sunsingerus Mar 10, 2026
cf1ccc5
fix https://github.com/Altinity/clickhouse-operator/issues/1940
Slach Mar 10, 2026
3856ac7
Merge pull request #1941 from Altinity/fix_base_image
sunsingerus Mar 10, 2026
82ab402
Merge remote-tracking branch 'altinity/0.26.1' into 0.26.1
sunsingerus Mar 10, 2026
4d686aa
tests: polish tests
sunsingerus Mar 11, 2026
2894519
tests: parallel run
sunsingerus Mar 12, 2026
e3b6837
dev: bump go stdlib version
sunsingerus Mar 12, 2026
fdf384d
dev: add hub
sunsingerus Mar 13, 2026
07b6506
dev: propoer namer
sunsingerus Mar 13, 2026
1b00fff
dev: hub releases
sunsingerus Mar 13, 2026
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
9 changes: 7 additions & 2 deletions cmd/operator/app/thread_keeper.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@ func initKeeper(ctx context.Context) error {
return err
}

// Build the apiextensions client for CRD deletion checks during CHK cleanup.
// Uses the same kubeConfigFile/masterURL package vars as the CHI thread.
_, extClient, _ := chop.GetClientset(kubeConfigFile, masterURL)

err = ctrlRuntime.
NewControllerManagedBy(manager).
For(
Expand All @@ -66,8 +70,9 @@ func initKeeper(ctx context.Context) error {
Owns(&apps.StatefulSet{}).
Complete(
&controller.Controller{
Client: manager.GetClient(),
Scheme: manager.GetScheme(),
Client: manager.GetClient(),
Scheme: manager.GetScheme(),
ExtClient: extClient,
},
)
if err != nil {
Expand Down
2 changes: 2 additions & 0 deletions deploy/builder/operatorhub.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,12 @@ if [[ -z "${PREVIOUS_VERSION}" ]]; then
exit 1
fi

echo "=================================================================================="
echo "PREVIOUS_VERSION: ${PREVIOUS_VERSION}"
echo "VERSION: ${VERSION}"
echo "!!! IMPORTANT !!!"
echo "Please, ensure PREVIOUS_VERSION=$PREVIOUS_VERSION is what is needed"
echo "=================================================================================="
read -n 1 -r -s -p $'Press enter to continue...\n'

OPERATORHUB_DIR="${SRC_ROOT}/deploy/operatorhub"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ metadata:
name: clickhouse-operator.v${OPERATOR_VERSION}
namespace: placeholder
annotations:
features.operators.openshift.io/disconnected: "true"
features.operators.openshift.io/fips-compliant: "false"
features.operators.openshift.io/proxy-aware: "false"
features.operators.openshift.io/tls-profiles: "false"
features.operators.openshift.io/token-auth-aws: "false"
features.operators.openshift.io/token-auth-azure: "false"
features.operators.openshift.io/token-auth-gcp: "false"
capabilities: Full Lifecycle
categories: Database
containerImage: docker.io/altinity/clickhouse-operator:${OPERATOR_VERSION}
Expand Down
4 changes: 2 additions & 2 deletions deploy/helm/clickhouse-operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ description: |-
kubectl apply -f https://github.com/Altinity/clickhouse-operator/raw/master/deploy/helm/clickhouse-operator/crds/CustomResourceDefinition-clickhousekeeperinstallations.clickhouse-keeper.altinity.com.yaml
```
type: application
version: 0.26.0
appVersion: 0.26.0
version: 0.26.1
appVersion: 0.26.1
home: https://github.com/Altinity/clickhouse-operator
icon: https://logosandtypes.com/wp-content/uploads/2020/12/altinity.svg
maintainers:
Expand Down
2 changes: 1 addition & 1 deletion deploy/helm/clickhouse-operator/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# altinity-clickhouse-operator

![Version: 0.26.0](https://img.shields.io/badge/Version-0.26.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.26.0](https://img.shields.io/badge/AppVersion-0.26.0-informational?style=flat-square)
![Version: 0.26.1](https://img.shields.io/badge/Version-0.26.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.26.1](https://img.shields.io/badge/AppVersion-0.26.1-informational?style=flat-square)

Helm chart to deploy [altinity-clickhouse-operator](https://github.com/Altinity/clickhouse-operator).

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
# SINGULAR=clickhouseinstallation
# PLURAL=clickhouseinstallations
# SHORT=chi
# OPERATOR_VERSION=0.26.0
# OPERATOR_VERSION=0.26.1
#
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: clickhouseinstallations.clickhouse.altinity.com
labels:
clickhouse.altinity.com/chop: 0.26.0
clickhouse.altinity.com/chop: 0.26.1
spec:
group: clickhouse.altinity.com
scope: Namespaced
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
# SINGULAR=clickhouseinstallationtemplate
# PLURAL=clickhouseinstallationtemplates
# SHORT=chit
# OPERATOR_VERSION=0.26.0
# OPERATOR_VERSION=0.26.1
#
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: clickhouseinstallationtemplates.clickhouse.altinity.com
labels:
clickhouse.altinity.com/chop: 0.26.0
clickhouse.altinity.com/chop: 0.26.1
spec:
group: clickhouse.altinity.com
scope: Namespaced
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# Template Parameters:
#
# OPERATOR_VERSION=0.26.0
# OPERATOR_VERSION=0.26.1
#
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: clickhousekeeperinstallations.clickhouse-keeper.altinity.com
labels:
clickhouse-keeper.altinity.com/chop: 0.26.0
clickhouse-keeper.altinity.com/chop: 0.26.1
spec:
group: clickhouse-keeper.altinity.com
scope: Namespaced
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ kind: CustomResourceDefinition
metadata:
name: clickhouseoperatorconfigurations.clickhouse.altinity.com
labels:
clickhouse.altinity.com/chop: 0.26.0
clickhouse.altinity.com/chop: 0.26.1
spec:
group: clickhouse.altinity.com
scope: Namespaced
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
#
# NAMESPACE=kube-system
# COMMENT=
# OPERATOR_IMAGE=altinity/clickhouse-operator:0.26.0
# OPERATOR_IMAGE=altinity/clickhouse-operator:0.26.1
# OPERATOR_IMAGE_PULL_POLICY=Always
# METRICS_EXPORTER_IMAGE=altinity/metrics-exporter:0.26.0
# METRICS_EXPORTER_IMAGE=altinity/metrics-exporter:0.26.1
# METRICS_EXPORTER_IMAGE_PULL_POLICY=Always
#
# Setup Deployment for clickhouse-operator
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Template parameters available:
# NAMESPACE=kube-system
# COMMENT=
# OPERATOR_VERSION=0.26.0
# OPERATOR_VERSION=0.26.1
# CH_USERNAME_SECRET_PLAIN=clickhouse_operator
# CH_PASSWORD_SECRET_PLAIN=clickhouse_operator_password
#
Expand Down
54 changes: 27 additions & 27 deletions deploy/operator/clickhouse-operator-install-ansible.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@
# SINGULAR=clickhouseinstallation
# PLURAL=clickhouseinstallations
# SHORT=chi
# OPERATOR_VERSION=0.26.0
# OPERATOR_VERSION=0.26.1
#
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: clickhouseinstallations.clickhouse.altinity.com
labels:
clickhouse.altinity.com/chop: 0.26.0
clickhouse.altinity.com/chop: 0.26.1
spec:
group: clickhouse.altinity.com
scope: Namespaced
Expand Down Expand Up @@ -1544,14 +1544,14 @@ spec:
# SINGULAR=clickhouseinstallationtemplate
# PLURAL=clickhouseinstallationtemplates
# SHORT=chit
# OPERATOR_VERSION=0.26.0
# OPERATOR_VERSION=0.26.1
#
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: clickhouseinstallationtemplates.clickhouse.altinity.com
labels:
clickhouse.altinity.com/chop: 0.26.0
clickhouse.altinity.com/chop: 0.26.1
spec:
group: clickhouse.altinity.com
scope: Namespaced
Expand Down Expand Up @@ -3080,7 +3080,7 @@ kind: CustomResourceDefinition
metadata:
name: clickhouseoperatorconfigurations.clickhouse.altinity.com
labels:
clickhouse.altinity.com/chop: 0.26.0
clickhouse.altinity.com/chop: 0.26.1
spec:
group: clickhouse.altinity.com
scope: Namespaced
Expand Down Expand Up @@ -3642,14 +3642,14 @@ spec:
---
# Template Parameters:
#
# OPERATOR_VERSION=0.26.0
# OPERATOR_VERSION=0.26.1
#
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: clickhousekeeperinstallations.clickhouse-keeper.altinity.com
labels:
clickhouse-keeper.altinity.com/chop: 0.26.0
clickhouse-keeper.altinity.com/chop: 0.26.1
spec:
group: clickhouse-keeper.altinity.com
scope: Namespaced
Expand Down Expand Up @@ -4532,7 +4532,7 @@ metadata:
name: clickhouse-operator
namespace: {{ namespace }}
labels:
clickhouse.altinity.com/chop: 0.26.0
clickhouse.altinity.com/chop: 0.26.1
---
# Template Parameters:
#
Expand All @@ -4558,7 +4558,7 @@ metadata:
name: clickhouse-operator
namespace: {{ namespace }}
labels:
clickhouse.altinity.com/chop: 0.26.0
clickhouse.altinity.com/chop: 0.26.1
rules:

#
Expand Down Expand Up @@ -4790,7 +4790,7 @@ metadata:
name: clickhouse-operator
namespace: {{ namespace }}
labels:
clickhouse.altinity.com/chop: 0.26.0
clickhouse.altinity.com/chop: 0.26.1
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
Expand All @@ -4812,7 +4812,7 @@ metadata:
name: etc-clickhouse-operator-files
namespace: {{ namespace }}
labels:
clickhouse.altinity.com/chop: 0.26.0
clickhouse.altinity.com/chop: 0.26.1
app: clickhouse-operator
data:
config.yaml: |
Expand Down Expand Up @@ -5337,7 +5337,7 @@ metadata:
name: etc-clickhouse-operator-confd-files
namespace: {{ namespace }}
labels:
clickhouse.altinity.com/chop: 0.26.0
clickhouse.altinity.com/chop: 0.26.1
app: clickhouse-operator
data:
---
Expand All @@ -5353,7 +5353,7 @@ metadata:
name: etc-clickhouse-operator-configd-files
namespace: {{ namespace }}
labels:
clickhouse.altinity.com/chop: 0.26.0
clickhouse.altinity.com/chop: 0.26.1
app: clickhouse-operator
data:
01-clickhouse-01-listen.xml: |
Expand Down Expand Up @@ -5452,7 +5452,7 @@ metadata:
name: etc-clickhouse-operator-templatesd-files
namespace: {{ namespace }}
labels:
clickhouse.altinity.com/chop: 0.26.0
clickhouse.altinity.com/chop: 0.26.1
app: clickhouse-operator
data:
001-templates.json.example: |
Expand Down Expand Up @@ -5552,7 +5552,7 @@ metadata:
name: etc-clickhouse-operator-usersd-files
namespace: {{ namespace }}
labels:
clickhouse.altinity.com/chop: 0.26.0
clickhouse.altinity.com/chop: 0.26.1
app: clickhouse-operator
data:
01-clickhouse-operator-profile.xml: |
Expand Down Expand Up @@ -5615,7 +5615,7 @@ metadata:
name: etc-keeper-operator-confd-files
namespace: {{ namespace }}
labels:
clickhouse.altinity.com/chop: 0.26.0
clickhouse.altinity.com/chop: 0.26.1
app: clickhouse-operator
data:
---
Expand All @@ -5631,7 +5631,7 @@ metadata:
name: etc-keeper-operator-configd-files
namespace: {{ namespace }}
labels:
clickhouse.altinity.com/chop: 0.26.0
clickhouse.altinity.com/chop: 0.26.1
app: clickhouse-operator
data:
01-keeper-01-default-config.xml: |
Expand Down Expand Up @@ -5709,7 +5709,7 @@ metadata:
name: etc-keeper-operator-templatesd-files
namespace: {{ namespace }}
labels:
clickhouse.altinity.com/chop: 0.26.0
clickhouse.altinity.com/chop: 0.26.1
app: clickhouse-operator
data:
readme: |
Expand All @@ -5727,15 +5727,15 @@ metadata:
name: etc-keeper-operator-usersd-files
namespace: {{ namespace }}
labels:
clickhouse.altinity.com/chop: 0.26.0
clickhouse.altinity.com/chop: 0.26.1
app: clickhouse-operator
data:
---
#
# Template parameters available:
# NAMESPACE={{ namespace }}
# COMMENT=
# OPERATOR_VERSION=0.26.0
# OPERATOR_VERSION=0.26.1
# CH_USERNAME_SECRET_PLAIN=clickhouse_operator
# CH_PASSWORD_SECRET_PLAIN={{ password }}
#
Expand All @@ -5745,7 +5745,7 @@ metadata:
name: clickhouse-operator
namespace: {{ namespace }}
labels:
clickhouse.altinity.com/chop: 0.26.0
clickhouse.altinity.com/chop: 0.26.1
app: clickhouse-operator
type: Opaque
stringData:
Expand All @@ -5756,9 +5756,9 @@ stringData:
#
# NAMESPACE={{ namespace }}
# COMMENT=
# OPERATOR_IMAGE=altinity/clickhouse-operator:0.26.0
# OPERATOR_IMAGE=altinity/clickhouse-operator:0.26.1
# OPERATOR_IMAGE_PULL_POLICY=Always
# METRICS_EXPORTER_IMAGE=altinity/metrics-exporter:0.26.0
# METRICS_EXPORTER_IMAGE=altinity/metrics-exporter:0.26.1
# METRICS_EXPORTER_IMAGE_PULL_POLICY=Always
#
# Setup Deployment for clickhouse-operator
Expand All @@ -5769,7 +5769,7 @@ metadata:
name: clickhouse-operator
namespace: {{ namespace }}
labels:
clickhouse.altinity.com/chop: 0.26.0
clickhouse.altinity.com/chop: 0.26.1
app: clickhouse-operator
spec:
replicas: 1
Expand Down Expand Up @@ -5817,7 +5817,7 @@ spec:
name: etc-keeper-operator-usersd-files
containers:
- name: clickhouse-operator
image: altinity/clickhouse-operator:0.26.0
image: altinity/clickhouse-operator:0.26.1
imagePullPolicy: Always
volumeMounts:
- name: etc-clickhouse-operator-folder
Expand Down Expand Up @@ -5893,7 +5893,7 @@ spec:
name: op-metrics

- name: metrics-exporter
image: altinity/metrics-exporter:0.26.0
image: altinity/metrics-exporter:0.26.1
imagePullPolicy: Always
volumeMounts:
- name: etc-clickhouse-operator-folder
Expand Down Expand Up @@ -5984,7 +5984,7 @@ metadata:
name: clickhouse-operator-metrics
namespace: {{ namespace }}
labels:
clickhouse.altinity.com/chop: 0.26.0
clickhouse.altinity.com/chop: 0.26.1
app: clickhouse-operator
spec:
ports:
Expand Down
Loading
Loading
0