Skip to content

Commit

Permalink
Merge pull request #1283 from Altinity/0.22.1
Browse files Browse the repository at this point in the history
Merge 0.22.1 to master
  • Loading branch information
sunsingerus authored Nov 30, 2023
2 parents 689d35c + bb1a5db commit 111d7ef
Show file tree
Hide file tree
Showing 32 changed files with 525 additions and 224 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -149,11 +149,13 @@ spec:
taskIDsStarted:
type: array
description: "Started task ids"
nullable: true
items:
type: string
taskIDsCompleted:
type: array
description: "Completed task ids"
nullable: true
items:
type: string
action:
Expand All @@ -162,6 +164,7 @@ spec:
actions:
type: array
description: "Actions"
nullable: true
items:
type: string
error:
Expand All @@ -170,6 +173,7 @@ spec:
errors:
type: array
description: "Errors"
nullable: true
items:
type: string
hostsUpdated:
Expand All @@ -195,16 +199,19 @@ spec:
pods:
type: array
description: "Pods"
nullable: true
items:
type: string
pod-ips:
type: array
description: "Pod IPs"
nullable: true
items:
type: string
fqdns:
type: array
description: "Pods FQDNs"
nullable: true
items:
type: string
endpoint:
Expand All @@ -225,11 +232,13 @@ spec:
hostsWithTablesCreated:
type: array
description: "List of hosts with tables created by the operator"
nullable: true
items:
type: string
usedTemplates:
type: array
description: "List of templates used to build this CHI"
nullable: true
x-kubernetes-preserve-unknown-fields: true
items:
type: object
Expand Down Expand Up @@ -313,6 +322,7 @@ spec:
will be auto-added into ClickHouseInstallation, selectable by `chiSelector`.
Default value is `manual`, meaning ClickHouseInstallation should request this ClickhouseInstallationTemplate explicitly.
enum:
- ""
- "auto"
- "manual"
chiSelector:
Expand Down Expand Up @@ -350,6 +360,7 @@ spec:
description: "behavior policy for unknown StatefulSet, Delete by default"
enum:
# List ObjectsCleanupXXX constants from model
- ""
- "Retain"
- "Delete"
pvc:
Expand Down Expand Up @@ -598,13 +609,15 @@ spec:
description: "how schema is propagated within a replica"
enum:
# List SchemaPolicyReplicaXXX constants from model
- ""
- "None"
- "All"
shard:
type: string
description: "how schema is propagated between shards"
enum:
# List SchemaPolicyShardXXX constants from model
- ""
- "None"
- "All"
- "DistributedTablesOnly"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@ spec:
- ReadOnStart. Accept CHIT updates on the operators start only.
- ApplyOnNextReconcile. Accept CHIT updates at all time. Apply news CHITs on next regular reconcile of the CHI
enum:
- ""
- "ReadOnStart"
- "ApplyOnNextReconcile"
path:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ spec:
annotations:
prometheus.io/port: '8888'
prometheus.io/scrape: 'true'
clickhouse-operator-metrics/port: '9999'
clickhouse-operator-metrics/scrape: 'true'
spec:
serviceAccountName: clickhouse-operator
volumes:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ spec:
annotations:
prometheus.io/port: '8888'
prometheus.io/scrape: 'true'
clickhouse-operator-metrics/port: '9999'
clickhouse-operator-metrics/scrape: 'true'
spec:
serviceAccountName: clickhouse-operator
containers:
Expand Down
4 changes: 2 additions & 2 deletions deploy/helm/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ description: |-
kubectl apply -f https://github.com/Altinity/clickhouse-operator/raw/master/deploy/helm/crds/CustomResourceDefinition-clickhouseoperatorconfigurations.clickhouse.altinity.com.yaml
```
type: application
version: 0.22.0
appVersion: 0.22.0
version: 0.22.1
appVersion: 0.22.1
home: https://github.com/Altinity/clickhouse-operator
icon: https://logosandtypes.com/wp-content/uploads/2020/12/altinity.svg
maintainers:
Expand Down
4 changes: 2 additions & 2 deletions deploy/helm/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# altinity-clickhouse-operator

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

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

Expand Down Expand Up @@ -49,7 +49,7 @@ For upgrade please install CRDs separately:
| operator.image.repository | string | `"altinity/clickhouse-operator"` | image repository |
| operator.image.tag | string | `""` | image tag (chart's appVersion value will be used if not set) |
| operator.resources | object | `{}` | custom resource configuration |
| podAnnotations | object | `{"prometheus.io/port":"8888","prometheus.io/scrape":"true"}` | annotations to add to the pod |
| podAnnotations | object | `{"clickhouse-operator-metrics/port":"9999","clickhouse-operator-metrics/scrape":"true","prometheus.io/port":"8888","prometheus.io/scrape":"true"}` | annotations to add to the pod |
| podSecurityContext | object | `{}` | |
| secret.create | bool | `true` | create a secret with operator credentials |
| secret.password | string | `"clickhouse_operator_password"` | operator credentials password |
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.22.0
# OPERATOR_VERSION=0.22.1
#
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: clickhouseinstallations.clickhouse.altinity.com
labels:
clickhouse.altinity.com/chop: 0.22.0
clickhouse.altinity.com/chop: 0.22.1
spec:
group: clickhouse.altinity.com
scope: Namespaced
Expand Down Expand Up @@ -145,11 +145,13 @@ spec:
taskIDsStarted:
type: array
description: "Started task ids"
nullable: true
items:
type: string
taskIDsCompleted:
type: array
description: "Completed task ids"
nullable: true
items:
type: string
action:
Expand All @@ -158,6 +160,7 @@ spec:
actions:
type: array
description: "Actions"
nullable: true
items:
type: string
error:
Expand All @@ -166,6 +169,7 @@ spec:
errors:
type: array
description: "Errors"
nullable: true
items:
type: string
hostsUpdated:
Expand All @@ -191,16 +195,19 @@ spec:
pods:
type: array
description: "Pods"
nullable: true
items:
type: string
pod-ips:
type: array
description: "Pod IPs"
nullable: true
items:
type: string
fqdns:
type: array
description: "Pods FQDNs"
nullable: true
items:
type: string
endpoint:
Expand All @@ -221,11 +228,13 @@ spec:
hostsWithTablesCreated:
type: array
description: "List of hosts with tables created by the operator"
nullable: true
items:
type: string
usedTemplates:
type: array
description: "List of templates used to build this CHI"
nullable: true
x-kubernetes-preserve-unknown-fields: true
items:
type: object
Expand Down Expand Up @@ -309,6 +318,7 @@ spec:
will be auto-added into ClickHouseInstallation, selectable by `chiSelector`.
Default value is `manual`, meaning ClickHouseInstallation should request this ClickhouseInstallationTemplate explicitly.
enum:
- ""
- "auto"
- "manual"
chiSelector:
Expand Down Expand Up @@ -346,6 +356,7 @@ spec:
description: "behavior policy for unknown StatefulSet, Delete by default"
enum:
# List ObjectsCleanupXXX constants from model
- ""
- "Retain"
- "Delete"
pvc:
Expand Down Expand Up @@ -594,13 +605,15 @@ spec:
description: "how schema is propagated within a replica"
enum:
# List SchemaPolicyReplicaXXX constants from model
- ""
- "None"
- "All"
shard:
type: string
description: "how schema is propagated between shards"
enum:
# List SchemaPolicyShardXXX constants from model
- ""
- "None"
- "All"
- "DistributedTablesOnly"
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.22.0
# OPERATOR_VERSION=0.22.1
#
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: clickhouseinstallationtemplates.clickhouse.altinity.com
labels:
clickhouse.altinity.com/chop: 0.22.0
clickhouse.altinity.com/chop: 0.22.1
spec:
group: clickhouse.altinity.com
scope: Namespaced
Expand Down Expand Up @@ -145,11 +145,13 @@ spec:
taskIDsStarted:
type: array
description: "Started task ids"
nullable: true
items:
type: string
taskIDsCompleted:
type: array
description: "Completed task ids"
nullable: true
items:
type: string
action:
Expand All @@ -158,6 +160,7 @@ spec:
actions:
type: array
description: "Actions"
nullable: true
items:
type: string
error:
Expand All @@ -166,6 +169,7 @@ spec:
errors:
type: array
description: "Errors"
nullable: true
items:
type: string
hostsUpdated:
Expand All @@ -191,16 +195,19 @@ spec:
pods:
type: array
description: "Pods"
nullable: true
items:
type: string
pod-ips:
type: array
description: "Pod IPs"
nullable: true
items:
type: string
fqdns:
type: array
description: "Pods FQDNs"
nullable: true
items:
type: string
endpoint:
Expand All @@ -221,11 +228,13 @@ spec:
hostsWithTablesCreated:
type: array
description: "List of hosts with tables created by the operator"
nullable: true
items:
type: string
usedTemplates:
type: array
description: "List of templates used to build this CHI"
nullable: true
x-kubernetes-preserve-unknown-fields: true
items:
type: object
Expand Down Expand Up @@ -309,6 +318,7 @@ spec:
will be auto-added into ClickHouseInstallation, selectable by `chiSelector`.
Default value is `manual`, meaning ClickHouseInstallation should request this ClickhouseInstallationTemplate explicitly.
enum:
- ""
- "auto"
- "manual"
chiSelector:
Expand Down Expand Up @@ -346,6 +356,7 @@ spec:
description: "behavior policy for unknown StatefulSet, Delete by default"
enum:
# List ObjectsCleanupXXX constants from model
- ""
- "Retain"
- "Delete"
pvc:
Expand Down Expand Up @@ -594,13 +605,15 @@ spec:
description: "how schema is propagated within a replica"
enum:
# List SchemaPolicyReplicaXXX constants from model
- ""
- "None"
- "All"
shard:
type: string
description: "how schema is propagated between shards"
enum:
# List SchemaPolicyShardXXX constants from model
- ""
- "None"
- "All"
- "DistributedTablesOnly"
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.22.0
clickhouse.altinity.com/chop: 0.22.1
spec:
group: clickhouse.altinity.com
scope: Namespaced
Expand Down Expand Up @@ -203,6 +203,7 @@ spec:
- ReadOnStart. Accept CHIT updates on the operators start only.
- ApplyOnNextReconcile. Accept CHIT updates at all time. Apply news CHITs on next regular reconcile of the CHI
enum:
- ""
- "ReadOnStart"
- "ApplyOnNextReconcile"
path:
Expand Down
Loading

0 comments on commit 111d7ef

Please sign in to comment.