Skip to content

Commit e372fca

Browse files
author
Guido Iaquinti
committed
0.19.0
1 parent 4dfa797 commit e372fca

20 files changed

+205
-58
lines changed

charts/posthog/crds/clickhouseinstallations.clickhouse.altinity.com.yaml

+29-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ kind: CustomResourceDefinition
1010
metadata:
1111
name: clickhouseinstallations.clickhouse.altinity.com
1212
labels:
13-
clickhouse.altinity.com/chop: 0.18.5
13+
clickhouse.altinity.com/chop: 0.19.0
1414
spec:
1515
group: clickhouse.altinity.com
1616
scope: Namespaced
@@ -119,6 +119,9 @@ spec:
119119
chop-date:
120120
type: string
121121
description: "ClickHouse operator build date"
122+
chop-ip:
123+
type: string
124+
description: "IP address of the operator's pod which managed this CHI"
122125
clusters:
123126
type: integer
124127
minimum: 0
@@ -188,6 +191,11 @@ spec:
188191
description: "Pods"
189192
items:
190193
type: string
194+
pod-ips:
195+
type: array
196+
description: "Pod IPs"
197+
items:
198+
type: string
191199
fqdns:
192200
type: array
193201
description: "Pods FQDNs"
@@ -657,6 +665,26 @@ spec:
657665
volumeClaimTemplate:
658666
type: string
659667
description: "DEPRECATED! VolumeClaimTemplate is deprecated in favor of DataVolumeClaimTemplate and LogVolumeClaimTemplate"
668+
schemaPolicy:
669+
type: object
670+
description: |
671+
describes how schema is propagated within replicas and shards
672+
properties:
673+
replica:
674+
type: string
675+
description: "how schema is propagated within a replica"
676+
enum:
677+
# List SchemaPolicyReplicaXXX constants from model
678+
- "None"
679+
- "All"
680+
shard:
681+
type: string
682+
description: "how schema is propagated between shards"
683+
enum:
684+
# List SchemaPolicyShardXXX constants from model
685+
- "None"
686+
- "All"
687+
- "DistributedTablesOnly"
660688
layout:
661689
type: object
662690
description: |

charts/posthog/crds/clickhouseinstallationtemplates.clickhouse.altinity.com.yaml

+29-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ kind: CustomResourceDefinition
1010
metadata:
1111
name: clickhouseinstallationtemplates.clickhouse.altinity.com
1212
labels:
13-
clickhouse.altinity.com/chop: 0.18.5
13+
clickhouse.altinity.com/chop: 0.19.0
1414
spec:
1515
group: clickhouse.altinity.com
1616
scope: Namespaced
@@ -119,6 +119,9 @@ spec:
119119
chop-date:
120120
type: string
121121
description: "ClickHouse operator build date"
122+
chop-ip:
123+
type: string
124+
description: "IP address of the operator's pod which managed this CHI"
122125
clusters:
123126
type: integer
124127
minimum: 0
@@ -188,6 +191,11 @@ spec:
188191
description: "Pods"
189192
items:
190193
type: string
194+
pod-ips:
195+
type: array
196+
description: "Pod IPs"
197+
items:
198+
type: string
191199
fqdns:
192200
type: array
193201
description: "Pods FQDNs"
@@ -657,6 +665,26 @@ spec:
657665
volumeClaimTemplate:
658666
type: string
659667
description: "DEPRECATED! VolumeClaimTemplate is deprecated in favor of DataVolumeClaimTemplate and LogVolumeClaimTemplate"
668+
schemaPolicy:
669+
type: object
670+
description: |
671+
describes how schema is propagated within replicas and shards
672+
properties:
673+
replica:
674+
type: string
675+
description: "how schema is propagated within a replica"
676+
enum:
677+
# List SchemaPolicyReplicaXXX constants from model
678+
- "None"
679+
- "All"
680+
shard:
681+
type: string
682+
description: "how schema is propagated between shards"
683+
enum:
684+
# List SchemaPolicyShardXXX constants from model
685+
- "None"
686+
- "All"
687+
- "DistributedTablesOnly"
660688
layout:
661689
type: object
662690
description: |

charts/posthog/crds/clickhouseoperatorconfigurations.clickhouse.altinity.com.yaml

+4-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ kind: CustomResourceDefinition
77
metadata:
88
name: clickhouseoperatorconfigurations.clickhouse.altinity.com
99
labels:
10-
clickhouse.altinity.com/chop: 0.18.5
10+
clickhouse.altinity.com/chop: 0.19.0
1111
spec:
1212
group: clickhouse.altinity.com
1313
scope: Namespaced
@@ -116,6 +116,9 @@ spec:
116116
password:
117117
type: string
118118
description: "ClickHouse password to be used by operator to connect to ClickHouse instances, deprecated, use chCredentialsSecretName"
119+
rootCA:
120+
type: string
121+
description: "Root certificate authority that clients use when verifying server certificates. Used for https connection to ClickHouse"
119122
secret:
120123
type: object
121124
properties:

charts/posthog/templates/clickhouse-operator/clusterrole.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ metadata:
1414
name: clickhouse-operator-{{ .Values.clickhouse.namespace | default .Release.Namespace }}
1515
namespace: {{ .Values.clickhouse.namespace | default .Release.Namespace }}
1616
labels:
17-
clickhouse.altinity.com/chop: 0.18.5
17+
clickhouse.altinity.com/chop: 0.19.0
1818
rules:
1919
- apiGroups:
2020
- ""

charts/posthog/templates/clickhouse-operator/clusterrolebinding.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ metadata:
77
name: clickhouse-operator-{{ .Values.clickhouse.namespace | default .Release.Namespace }}
88
namespace: {{ .Values.clickhouse.namespace | default .Release.Namespace }}
99
labels:
10-
clickhouse.altinity.com/chop: 0.18.5
10+
clickhouse.altinity.com/chop: 0.19.0
1111
roleRef:
1212
apiGroup: rbac.authorization.k8s.io
1313
kind: ClusterRole

charts/posthog/templates/clickhouse-operator/configmap.yaml

+52-9
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,16 @@ metadata:
1111
name: etc-clickhouse-operator-files
1212
namespace: {{ .Values.clickhouse.namespace | default .Release.Namespace }}
1313
labels:
14-
clickhouse.altinity.com/chop: 0.18.5
14+
clickhouse.altinity.com/chop: 0.19.0
1515
app: clickhouse-operator
1616
data:
1717
config.yaml: |
1818
# IMPORTANT
19-
# This file is auto-generated from deploy/builder/templates-config.
20-
# It will be overwritten upon next sources build.
19+
# This file is auto-generated
20+
# Do not edit this file - all changes would be lost
21+
# Edit appropriate template in the following folder:
22+
# deploy/builder/templates-config
23+
# IMPORTANT
2124
#
2225
# Template parameters available:
2326
# watchNamespaces
@@ -243,7 +246,7 @@ metadata:
243246
name: etc-clickhouse-operator-confd-files
244247
namespace: {{ .Values.clickhouse.namespace | default .Release.Namespace }}
245248
labels:
246-
clickhouse.altinity.com/chop: 0.18.5
249+
clickhouse.altinity.com/chop: 0.19.0
247250
app: clickhouse-operator
248251
data:
249252

@@ -261,10 +264,16 @@ metadata:
261264
name: etc-clickhouse-operator-configd-files
262265
namespace: {{ .Values.clickhouse.namespace | default .Release.Namespace }}
263266
labels:
264-
clickhouse.altinity.com/chop: 0.18.5
267+
clickhouse.altinity.com/chop: 0.19.0
265268
app: clickhouse-operator
266269
data:
267270
01-clickhouse-01-listen.xml: |
271+
<!-- IMPORTANT -->
272+
<!-- This file is auto-generated -->
273+
<!-- Do not edit this file - all changes would be lost -->
274+
<!-- Edit appropriate template in the following folder: -->
275+
<!-- deploy/builder/templates-config -->
276+
<!-- IMPORTANT -->
268277
<yandex>
269278
<!-- Listen wildcard address to allow accepting connections from other containers and host network. -->
270279
<listen_host>::</listen_host>
@@ -273,6 +282,12 @@ data:
273282
</yandex>
274283
275284
01-clickhouse-02-logger.xml: |
285+
<!-- IMPORTANT -->
286+
<!-- This file is auto-generated -->
287+
<!-- Do not edit this file - all changes would be lost -->
288+
<!-- Edit appropriate template in the following folder: -->
289+
<!-- deploy/builder/templates-config -->
290+
<!-- IMPORTANT -->
276291
<yandex>
277292
<logger>
278293
<!-- Possible levels: https://github.com/pocoproject/poco/blob/develop/Foundation/include/Poco/Logger.h#L105 -->
@@ -287,6 +302,12 @@ data:
287302
</yandex>
288303
289304
01-clickhouse-03-query_log.xml: |
305+
<!-- IMPORTANT -->
306+
<!-- This file is auto-generated -->
307+
<!-- Do not edit this file - all changes would be lost -->
308+
<!-- Edit appropriate template in the following folder: -->
309+
<!-- deploy/builder/templates-config -->
310+
<!-- IMPORTANT -->
290311
<yandex>
291312
<query_log replace="1">
292313
<database>system</database>
@@ -298,6 +319,12 @@ data:
298319
</yandex>
299320
300321
01-clickhouse-04-part_log.xml: |
322+
<!-- IMPORTANT -->
323+
<!-- This file is auto-generated -->
324+
<!-- Do not edit this file - all changes would be lost -->
325+
<!-- Edit appropriate template in the following folder: -->
326+
<!-- deploy/builder/templates-config -->
327+
<!-- IMPORTANT -->
301328
<yandex>
302329
<part_log replace="1">
303330
<database>system</database>
@@ -321,7 +348,7 @@ metadata:
321348
name: etc-clickhouse-operator-templatesd-files
322349
namespace: {{ .Values.clickhouse.namespace | default .Release.Namespace }}
323350
labels:
324-
clickhouse.altinity.com/chop: 0.18.5
351+
clickhouse.altinity.com/chop: 0.19.0
325352
app: clickhouse-operator
326353
data:
327354
001-templates.json.example: |
@@ -423,17 +450,21 @@ metadata:
423450
name: etc-clickhouse-operator-usersd-files
424451
namespace: {{ .Values.clickhouse.namespace | default .Release.Namespace }}
425452
labels:
426-
clickhouse.altinity.com/chop: 0.18.5
453+
clickhouse.altinity.com/chop: 0.19.0
427454
app: clickhouse-operator
428455
data:
429456
01-clickhouse-user.xml: |
457+
<!-- IMPORTANT -->
458+
<!-- This file is auto-generated -->
459+
<!-- Do not edit this file - all changes would be lost -->
460+
<!-- Edit appropriate template in the following folder: -->
461+
<!-- deploy/builder/templates-config -->
462+
<!-- IMPORTANT -->
430463
<yandex>
431464
<users>
432465
<clickhouse_operator>
433466
<networks>
434467
<ip>127.0.0.1</ip>
435-
<ip>0.0.0.0/0</ip>
436-
<ip>::/0</ip>
437468
</networks>
438469
<password_sha256_hex>716b36073a90c6fe1d445ac1af85f4777c5b7a155cea359961826a030513e448</password_sha256_hex>
439470
<profile>clickhouse_operator</profile>
@@ -450,6 +481,12 @@ data:
450481
</yandex>
451482
452483
02-clickhouse-default-profile.xml: |
484+
<!-- IMPORTANT -->
485+
<!-- This file is auto-generated -->
486+
<!-- Do not edit this file - all changes would be lost -->
487+
<!-- Edit appropriate template in the following folder: -->
488+
<!-- deploy/builder/templates-config -->
489+
<!-- IMPORTANT -->
453490
<yandex>
454491
<profiles>
455492
<default>
@@ -461,6 +498,12 @@ data:
461498
</profiles>
462499
</yandex>
463500
03-database-ordinary.xml: |
501+
<!-- IMPORTANT -->
502+
<!-- This file is auto-generated -->
503+
<!-- Do not edit this file - all changes would be lost -->
504+
<!-- Edit appropriate template in the following folder: -->
505+
<!-- deploy/builder/templates-config -->
506+
<!-- IMPORTANT -->
464507
<!-- Remove it for ClickHouse versions before 20.4 -->
465508
<yandex>
466509
<profiles>

charts/posthog/templates/clickhouse-operator/deployment.yaml

+9-7
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@
33
#
44
# NAMESPACE={{ .Values.clickhouse.namespace | default .Release.Namespace }}
55
# COMMENT=
6-
# OPERATOR_IMAGE=altinity/clickhouse-operator:0.18.5
7-
# METRICS_EXPORTER_IMAGE=altinity/metrics-exporter:0.18.5
6+
# OPERATOR_IMAGE=altinity/clickhouse-operator:0.19.0
7+
# OPERATOR_IMAGE_PULL_POLICY=
8+
# METRICS_EXPORTER_IMAGE=altinity/metrics-exporter:0.19.0
9+
# METRICS_EXPORTER_IMAGE_PULL_POLICY=
810
#
911
# Setup Deployment for clickhouse-operator
1012
# Deployment would be created in kubectl-specified namespace
@@ -14,7 +16,7 @@ metadata:
1416
name: clickhouse-operator
1517
namespace: {{ .Values.clickhouse.namespace | default .Release.Namespace }}
1618
labels:
17-
clickhouse.altinity.com/chop: 0.18.5
19+
clickhouse.altinity.com/chop: 0.19.0
1820
app: clickhouse-operator
1921
spec:
2022
replicas: 1
@@ -48,8 +50,8 @@ spec:
4850
name: etc-clickhouse-operator-usersd-files
4951
containers:
5052
- name: clickhouse-operator
51-
image: altinity/clickhouse-operator:0.18.5
52-
imagePullPolicy: Always
53+
image: altinity/clickhouse-operator:0.19.0
54+
imagePullPolicy:
5355
volumeMounts:
5456
- name: etc-clickhouse-operator-folder
5557
mountPath: /etc/clickhouse-operator
@@ -113,8 +115,8 @@ spec:
113115
resource: limits.memory
114116

115117
- name: metrics-exporter
116-
image: altinity/metrics-exporter:0.18.5
117-
imagePullPolicy: Always
118+
image: altinity/metrics-exporter:0.19.0
119+
imagePullPolicy:
118120
volumeMounts:
119121
- name: etc-clickhouse-operator-folder
120122
mountPath: /etc/clickhouse-operator

charts/posthog/templates/clickhouse-operator/service.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ metadata:
1515
name: clickhouse-operator-metrics
1616
namespace: {{ .Values.clickhouse.namespace | default .Release.Namespace }}
1717
labels:
18-
clickhouse.altinity.com/chop: 0.18.5
18+
clickhouse.altinity.com/chop: 0.19.0
1919
app: clickhouse-operator
2020
spec:
2121
ports:

charts/posthog/templates/clickhouse-operator/serviceaccount.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ metadata:
1212
name: clickhouse-operator
1313
namespace: {{ .Values.clickhouse.namespace | default .Release.Namespace }}
1414
labels:
15-
clickhouse.altinity.com/chop: 0.18.5
15+
clickhouse.altinity.com/chop: 0.19.0
1616

1717
{{- end }}

charts/posthog/tests/clickhouse-operator/__snapshot__/clusterrole.yaml.snap

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ the manifest should match the snapshot when using default values:
44
kind: ClusterRole
55
metadata:
66
labels:
7-
clickhouse.altinity.com/chop: 0.18.5
7+
clickhouse.altinity.com/chop: 0.19.0
88
name: clickhouse-operator-NAMESPACE
99
namespace: NAMESPACE
1010
rules:

charts/posthog/tests/clickhouse-operator/__snapshot__/clusterrolebinding.yaml.snap

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ the manifest should match the snapshot when using default values:
44
kind: ClusterRoleBinding
55
metadata:
66
labels:
7-
clickhouse.altinity.com/chop: 0.18.5
7+
clickhouse.altinity.com/chop: 0.19.0
88
name: clickhouse-operator-NAMESPACE
99
namespace: NAMESPACE
1010
roleRef:

0 commit comments

Comments
 (0)