Skip to content

Commit 4df607e

Browse files
authored
Merge pull request #1769 from Altinity/0.25.2
0.25.2
2 parents 77f2aef + 53baad2 commit 4df607e

File tree

83 files changed

+752
-824
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

83 files changed

+752
-824
lines changed

.dockerignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
1+
dev/bin/
2+
dev/log/
13
docs/
24
hack/
35
tests/
6+
tmp/
47
.devspace/
5-
.vagrant/
68
.idea/
9+
.vagrant/
710

811
devspace.yaml
912
Vagrantfile
1013

14+
1115
config/config-dev.yaml
1216
config/secret.yaml
1317

deploy/clickhouse-keeper/clickhouse-keeper-manually/clickhouse-keeper-1-node-256M-for-test-only.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,10 @@ metadata:
111111
data:
112112
env.sh: |
113113
#!/usr/bin/env bash
114-
export DOMAIN=`hostname -d`
114+
HOST=$(hostname -s)
115+
FQDN=$(cat /etc/hostname)
116+
DOMAIN=${FQDN#${HOST}.}
117+
export DOMAIN
115118
export CLIENT_HOST=clickhouse-keeper
116119
export CLIENT_PORT=2181
117120
export RAFT_PORT=9444
@@ -353,6 +356,7 @@ spec:
353356
prometheus.io/port: '7000'
354357
prometheus.io/scrape: 'true'
355358
spec:
359+
setHostnameAsFQDN: true
356360
# affinity removed to allow use in single node test environment
357361
# affinity:
358362
# podAntiAffinity:

deploy/clickhouse-keeper/clickhouse-keeper-manually/clickhouse-keeper-1-node.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,10 @@ metadata:
9393
data:
9494
env.sh: |
9595
#!/usr/bin/env bash
96-
export DOMAIN=`hostname -d`
96+
HOST=$(hostname -s)
97+
FQDN=$(cat /etc/hostname)
98+
DOMAIN=${FQDN#${HOST}.}
99+
export DOMAIN
97100
export CLIENT_HOST=clickhouse-keeper
98101
export CLIENT_PORT=2181
99102
export RAFT_PORT=9444
@@ -335,6 +338,7 @@ spec:
335338
prometheus.io/port: '7000'
336339
prometheus.io/scrape: 'true'
337340
spec:
341+
setHostnameAsFQDN: true
338342
affinity:
339343
podAntiAffinity:
340344
requiredDuringSchedulingIgnoredDuringExecution:

deploy/clickhouse-keeper/clickhouse-keeper-manually/clickhouse-keeper-3-nodes-256M-for-test-only.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,10 @@ metadata:
111111
data:
112112
env.sh: |
113113
#!/usr/bin/env bash
114-
export DOMAIN=`hostname -d`
114+
HOST=$(hostname -s)
115+
FQDN=$(cat /etc/hostname)
116+
DOMAIN=${FQDN#${HOST}.}
117+
export DOMAIN
115118
export CLIENT_HOST=clickhouse-keeper
116119
export CLIENT_PORT=2181
117120
export RAFT_PORT=9444
@@ -353,6 +356,7 @@ spec:
353356
prometheus.io/port: '7000'
354357
prometheus.io/scrape: 'true'
355358
spec:
359+
setHostnameAsFQDN: true
356360
# affinity removed to allow use in single node test environment
357361
# affinity:
358362
# podAntiAffinity:

deploy/clickhouse-keeper/clickhouse-keeper-manually/clickhouse-keeper-3-nodes.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,10 @@ metadata:
9393
data:
9494
env.sh: |
9595
#!/usr/bin/env bash
96-
export DOMAIN=`hostname -d`
96+
HOST=$(hostname -s)
97+
FQDN=$(cat /etc/hostname)
98+
DOMAIN=${FQDN#${HOST}.}
99+
export DOMAIN
97100
export CLIENT_HOST=clickhouse-keeper
98101
export CLIENT_PORT=2181
99102
export RAFT_PORT=9444
@@ -335,6 +338,7 @@ spec:
335338
prometheus.io/port: '7000'
336339
prometheus.io/scrape: 'true'
337340
spec:
341+
setHostnameAsFQDN: true
338342
affinity:
339343
podAntiAffinity:
340344
requiredDuringSchedulingIgnoredDuringExecution:

deploy/helm/clickhouse-operator/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ description: |-
1313
kubectl apply -f https://github.com/Altinity/clickhouse-operator/raw/master/deploy/helm/clickhouse-operator/crds/CustomResourceDefinition-clickhousekeeperinstallations.clickhouse-keeper.altinity.com.yaml
1414
```
1515
type: application
16-
version: 0.25.1
17-
appVersion: 0.25.1
16+
version: 0.25.2
17+
appVersion: 0.25.2
1818
home: https://github.com/Altinity/clickhouse-operator
1919
icon: https://logosandtypes.com/wp-content/uploads/2020/12/altinity.svg
2020
maintainers:

deploy/helm/clickhouse-operator/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# altinity-clickhouse-operator
22

3-
![Version: 0.25.1](https://img.shields.io/badge/Version-0.25.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.25.1](https://img.shields.io/badge/AppVersion-0.25.1-informational?style=flat-square)
3+
![Version: 0.25.2](https://img.shields.io/badge/Version-0.25.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.25.2](https://img.shields.io/badge/AppVersion-0.25.2-informational?style=flat-square)
44

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

deploy/helm/clickhouse-operator/crds/CustomResourceDefinition-clickhouseinstallations.clickhouse.altinity.com.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
# SINGULAR=clickhouseinstallation
55
# PLURAL=clickhouseinstallations
66
# SHORT=chi
7-
# OPERATOR_VERSION=0.25.1
7+
# OPERATOR_VERSION=0.25.2
88
#
99
apiVersion: apiextensions.k8s.io/v1
1010
kind: CustomResourceDefinition
1111
metadata:
1212
name: clickhouseinstallations.clickhouse.altinity.com
1313
labels:
14-
clickhouse.altinity.com/chop: 0.25.1
14+
clickhouse.altinity.com/chop: 0.25.2
1515
spec:
1616
group: clickhouse.altinity.com
1717
scope: Namespaced

deploy/helm/clickhouse-operator/crds/CustomResourceDefinition-clickhouseinstallationtemplates.clickhouse.altinity.com.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
# SINGULAR=clickhouseinstallationtemplate
55
# PLURAL=clickhouseinstallationtemplates
66
# SHORT=chit
7-
# OPERATOR_VERSION=0.25.1
7+
# OPERATOR_VERSION=0.25.2
88
#
99
apiVersion: apiextensions.k8s.io/v1
1010
kind: CustomResourceDefinition
1111
metadata:
1212
name: clickhouseinstallationtemplates.clickhouse.altinity.com
1313
labels:
14-
clickhouse.altinity.com/chop: 0.25.1
14+
clickhouse.altinity.com/chop: 0.25.2
1515
spec:
1616
group: clickhouse.altinity.com
1717
scope: Namespaced

deploy/helm/clickhouse-operator/crds/CustomResourceDefinition-clickhousekeeperinstallations.clickhouse-keeper.altinity.com.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# Template Parameters:
22
#
3-
# OPERATOR_VERSION=0.25.1
3+
# OPERATOR_VERSION=0.25.2
44
#
55
apiVersion: apiextensions.k8s.io/v1
66
kind: CustomResourceDefinition
77
metadata:
88
name: clickhousekeeperinstallations.clickhouse-keeper.altinity.com
99
labels:
10-
clickhouse-keeper.altinity.com/chop: 0.25.1
10+
clickhouse-keeper.altinity.com/chop: 0.25.2
1111
spec:
1212
group: clickhouse-keeper.altinity.com
1313
scope: Namespaced

0 commit comments

Comments
 (0)