Skip to content

Commit

Permalink
Merge pull request #1396 from Altinity/0.23.5
Browse files Browse the repository at this point in the history
0.23.5
  • Loading branch information
sunsingerus authored Apr 12, 2024
2 parents 75d9899 + 078df79 commit bbbf66a
Show file tree
Hide file tree
Showing 104 changed files with 6,682 additions and 998 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release_chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
sudo install cr /usr/local/bin/
rm -f cr chart-releaser_1.4.1_linux_amd64.tar.gz
- name: Package Chart
run: cr package deploy/helm
run: cr package deploy/helm/clickhouse-operator
- name: Upload Release Artifacts
run: |
CHART_PATH=$(ls .cr-release-packages/altinity-clickhouse-operator-*.tgz)
Expand Down
571 changes: 571 additions & 0 deletions CHANGELOG.md

Large diffs are not rendered by default.

24 changes: 12 additions & 12 deletions deploy/devspace/dev-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ kubectl -n "${OPERATOR_NAMESPACE}" apply -f <( \
)

if [[ "${MINIKUBE}" == "yes" ]]; then
echo "Preparing for minikube"
echo "Building in minikube"
case "${DEPLOY_OPERATOR}" in
"dev")
echo "Clean images in minikube"
Expand All @@ -40,17 +40,17 @@ if [[ "${MINIKUBE}" == "yes" ]]; then
echo "Remove errors will be ignored."
minikube image rm "${OPERATOR_IMAGE}" > /dev/null 2>&1
minikube image rm "${METRICS_EXPORTER_IMAGE}" > /dev/null 2>&1

echo "Build images"
echo "VERBOSITY=${VERBOSITY} ${PROJECT_ROOT}/dev/image_build_all_dev.sh"
VERBOSITY="${VERBOSITY}" "${PROJECT_ROOT}/dev/image_build_all_dev.sh"
echo "Load images into minikube:"
echo " 1. ${OPERATOR_IMAGE}"
echo " 2. ${METRICS_EXPORTER_IMAGE}"
echo "Load images into minikube"
minikube image load "${OPERATOR_IMAGE}"
minikube image load "${METRICS_EXPORTER_IMAGE}"
echo "Images loaded"
echo "Build images in minikube"
echo "VERBOSITY=${VERBOSITY} MINIKUBE=yes ${PROJECT_ROOT}/dev/image_build_all_dev.sh"
if VERBOSITY="${VERBOSITY}" MINIKUBE=yes "${PROJECT_ROOT}/dev/image_build_all_dev.sh"; then
echo "OK. MINIKUBE build successful."
else
echo "########################"
echo "ERROR."
echo "MINIKUBE build has failed."
echo "Abort."
exit 1
fi
;;
esac
fi
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ description: |-
For upgrade please install CRDs separately:
```bash
kubectl apply -f https://github.com/Altinity/clickhouse-operator/raw/master/deploy/helm/crds/CustomResourceDefinition-clickhouseinstallations.clickhouse.altinity.com.yaml
kubectl apply -f https://github.com/Altinity/clickhouse-operator/raw/master/deploy/helm/crds/CustomResourceDefinition-clickhouseinstallationtemplates.clickhouse.altinity.com.yaml
kubectl apply -f https://github.com/Altinity/clickhouse-operator/raw/master/deploy/helm/crds/CustomResourceDefinition-clickhouseoperatorconfigurations.clickhouse.altinity.com.yaml
kubectl apply -f https://github.com/Altinity/clickhouse-operator/raw/master/deploy/helm/clickhouse-operator/crds/CustomResourceDefinition-clickhouseinstallations.clickhouse.altinity.com.yaml
kubectl apply -f https://github.com/Altinity/clickhouse-operator/raw/master/deploy/helm/clickhouse-operator/crds/CustomResourceDefinition-clickhouseinstallationtemplates.clickhouse.altinity.com.yaml
kubectl apply -f https://github.com/Altinity/clickhouse-operator/raw/master/deploy/helm/clickhouse-operator/crds/CustomResourceDefinition-clickhouseoperatorconfigurations.clickhouse.altinity.com.yaml
```
type: application
version: 0.23.4
appVersion: 0.23.4
version: 0.23.5
appVersion: 0.23.5
home: https://github.com/Altinity/clickhouse-operator
icon: https://logosandtypes.com/wp-content/uploads/2020/12/altinity.svg
maintainers:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# altinity-clickhouse-operator

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

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

The ClickHouse Operator creates, configures and manages ClickHouse clusters running on Kubernetes.

For upgrade please install CRDs separately:
```bash
kubectl apply -f https://github.com/Altinity/clickhouse-operator/raw/master/deploy/helm/crds/CustomResourceDefinition-clickhouseinstallations.clickhouse.altinity.com.yaml
kubectl apply -f https://github.com/Altinity/clickhouse-operator/raw/master/deploy/helm/crds/CustomResourceDefinition-clickhouseinstallationtemplates.clickhouse.altinity.com.yaml
kubectl apply -f https://github.com/Altinity/clickhouse-operator/raw/master/deploy/helm/crds/CustomResourceDefinition-clickhouseoperatorconfigurations.clickhouse.altinity.com.yaml
kubectl apply -f https://github.com/Altinity/clickhouse-operator/raw/master/deploy/helm/clickhouse-operator/crds/CustomResourceDefinition-clickhouseinstallations.clickhouse.altinity.com.yaml
kubectl apply -f https://github.com/Altinity/clickhouse-operator/raw/master/deploy/helm/clickhouse-operator/crds/CustomResourceDefinition-clickhouseinstallationtemplates.clickhouse.altinity.com.yaml
kubectl apply -f https://github.com/Altinity/clickhouse-operator/raw/master/deploy/helm/clickhouse-operator/crds/CustomResourceDefinition-clickhouseoperatorconfigurations.clickhouse.altinity.com.yaml
```

**Homepage:** <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.23.4
# OPERATOR_VERSION=0.23.5
#
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: clickhouseinstallations.clickhouse.altinity.com
labels:
clickhouse.altinity.com/chop: 0.23.4
clickhouse.altinity.com/chop: 0.23.5
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.23.4
# OPERATOR_VERSION=0.23.5
#
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: clickhouseinstallationtemplates.clickhouse.altinity.com
labels:
clickhouse.altinity.com/chop: 0.23.4
clickhouse.altinity.com/chop: 0.23.5
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.23.4
# OPERATOR_VERSION=0.23.5
#
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: clickhousekeeperinstallations.clickhouse-keeper.altinity.com
labels:
clickhouse-keeper.altinity.com/chop: 0.23.4
clickhouse-keeper.altinity.com/chop: 0.23.5
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.23.4
clickhouse.altinity.com/chop: 0.23.5
spec:
group: clickhouse.altinity.com
scope: Namespaced
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
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.23.4
# OPERATOR_IMAGE=altinity/clickhouse-operator:0.23.5
# OPERATOR_IMAGE_PULL_POLICY=Always
# METRICS_EXPORTER_IMAGE=altinity/metrics-exporter:0.23.4
# METRICS_EXPORTER_IMAGE=altinity/metrics-exporter:0.23.5
# 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.23.4
# OPERATOR_VERSION=0.23.5
# CH_USERNAME_SECRET_PLAIN=clickhouse_operator
# CH_PASSWORD_SECRET_PLAIN=clickhouse_operator_password
#
Expand Down
File renamed without changes.
File renamed without changes.
46 changes: 23 additions & 23 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.23.4
# OPERATOR_VERSION=0.23.5
#
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: clickhouseinstallations.clickhouse.altinity.com
labels:
clickhouse.altinity.com/chop: 0.23.4
clickhouse.altinity.com/chop: 0.23.5
spec:
group: clickhouse.altinity.com
scope: Namespaced
Expand Down Expand Up @@ -1237,14 +1237,14 @@ spec:
# SINGULAR=clickhouseinstallationtemplate
# PLURAL=clickhouseinstallationtemplates
# SHORT=chit
# OPERATOR_VERSION=0.23.4
# OPERATOR_VERSION=0.23.5
#
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: clickhouseinstallationtemplates.clickhouse.altinity.com
labels:
clickhouse.altinity.com/chop: 0.23.4
clickhouse.altinity.com/chop: 0.23.5
spec:
group: clickhouse.altinity.com
scope: Namespaced
Expand Down Expand Up @@ -2466,7 +2466,7 @@ kind: CustomResourceDefinition
metadata:
name: clickhouseoperatorconfigurations.clickhouse.altinity.com
labels:
clickhouse.altinity.com/chop: 0.23.4
clickhouse.altinity.com/chop: 0.23.5
spec:
group: clickhouse.altinity.com
scope: Namespaced
Expand Down Expand Up @@ -2881,14 +2881,14 @@ spec:
---
# Template Parameters:
#
# OPERATOR_VERSION=0.23.4
# OPERATOR_VERSION=0.23.5
#
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: clickhousekeeperinstallations.clickhouse-keeper.altinity.com
labels:
clickhouse-keeper.altinity.com/chop: 0.23.4
clickhouse-keeper.altinity.com/chop: 0.23.5
spec:
group: clickhouse-keeper.altinity.com
scope: Namespaced
Expand Down Expand Up @@ -3157,7 +3157,7 @@ metadata:
name: clickhouse-operator
namespace: {{ namespace }}
labels:
clickhouse.altinity.com/chop: 0.23.4
clickhouse.altinity.com/chop: 0.23.5
---
# Template Parameters:
#
Expand All @@ -3183,7 +3183,7 @@ metadata:
name: clickhouse-operator
namespace: {{ namespace }}
labels:
clickhouse.altinity.com/chop: 0.23.4
clickhouse.altinity.com/chop: 0.23.5
rules:

#
Expand Down Expand Up @@ -3402,7 +3402,7 @@ metadata:
name: clickhouse-operator
namespace: {{ namespace }}
labels:
clickhouse.altinity.com/chop: 0.23.4
clickhouse.altinity.com/chop: 0.23.5
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
Expand All @@ -3424,7 +3424,7 @@ metadata:
name: etc-clickhouse-operator-files
namespace: {{ namespace }}
labels:
clickhouse.altinity.com/chop: 0.23.4
clickhouse.altinity.com/chop: 0.23.5
app: clickhouse-operator
data:
config.yaml: |
Expand Down Expand Up @@ -3796,7 +3796,7 @@ metadata:
name: etc-clickhouse-operator-confd-files
namespace: {{ namespace }}
labels:
clickhouse.altinity.com/chop: 0.23.4
clickhouse.altinity.com/chop: 0.23.5
app: clickhouse-operator
data:
---
Expand All @@ -3812,7 +3812,7 @@ metadata:
name: etc-clickhouse-operator-configd-files
namespace: {{ namespace }}
labels:
clickhouse.altinity.com/chop: 0.23.4
clickhouse.altinity.com/chop: 0.23.5
app: clickhouse-operator
data:
01-clickhouse-01-listen.xml: |
Expand Down Expand Up @@ -3911,7 +3911,7 @@ metadata:
name: etc-clickhouse-operator-templatesd-files
namespace: {{ namespace }}
labels:
clickhouse.altinity.com/chop: 0.23.4
clickhouse.altinity.com/chop: 0.23.5
app: clickhouse-operator
data:
001-templates.json.example: |
Expand Down Expand Up @@ -4011,7 +4011,7 @@ metadata:
name: etc-clickhouse-operator-usersd-files
namespace: {{ namespace }}
labels:
clickhouse.altinity.com/chop: 0.23.4
clickhouse.altinity.com/chop: 0.23.5
app: clickhouse-operator
data:
01-clickhouse-operator-profile.xml: |
Expand Down Expand Up @@ -4066,7 +4066,7 @@ data:
# Template parameters available:
# NAMESPACE={{ namespace }}
# COMMENT=
# OPERATOR_VERSION=0.23.4
# OPERATOR_VERSION=0.23.5
# CH_USERNAME_SECRET_PLAIN=clickhouse_operator
# CH_PASSWORD_SECRET_PLAIN={{ password }}
#
Expand All @@ -4076,7 +4076,7 @@ metadata:
name: clickhouse-operator
namespace: {{ namespace }}
labels:
clickhouse.altinity.com/chop: 0.23.4
clickhouse.altinity.com/chop: 0.23.5
app: clickhouse-operator
type: Opaque
stringData:
Expand All @@ -4087,9 +4087,9 @@ stringData:
#
# NAMESPACE={{ namespace }}
# COMMENT=
# OPERATOR_IMAGE=altinity/clickhouse-operator:0.23.4
# OPERATOR_IMAGE=altinity/clickhouse-operator:0.23.5
# OPERATOR_IMAGE_PULL_POLICY=Always
# METRICS_EXPORTER_IMAGE=altinity/metrics-exporter:0.23.4
# METRICS_EXPORTER_IMAGE=altinity/metrics-exporter:0.23.5
# METRICS_EXPORTER_IMAGE_PULL_POLICY=Always
#
# Setup Deployment for clickhouse-operator
Expand All @@ -4100,7 +4100,7 @@ metadata:
name: clickhouse-operator
namespace: {{ namespace }}
labels:
clickhouse.altinity.com/chop: 0.23.4
clickhouse.altinity.com/chop: 0.23.5
app: clickhouse-operator
spec:
replicas: 1
Expand Down Expand Up @@ -4136,7 +4136,7 @@ spec:
name: etc-clickhouse-operator-usersd-files
containers:
- name: clickhouse-operator
image: altinity/clickhouse-operator:0.23.4
image: altinity/clickhouse-operator:0.23.5
imagePullPolicy: Always
volumeMounts:
- name: etc-clickhouse-operator-folder
Expand Down Expand Up @@ -4204,7 +4204,7 @@ spec:
name: metrics

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

0 comments on commit bbbf66a

Please sign in to comment.