Skip to content

Commit

Permalink
env: manifests
Browse files Browse the repository at this point in the history
  • Loading branch information
sunsingerus committed Nov 29, 2023
1 parent b84e083 commit dd5bd9b
Show file tree
Hide file tree
Showing 12 changed files with 231 additions and 1 deletion.
2 changes: 1 addition & 1 deletion deploy/helm/README.md
Original file line number Diff line number Diff line change
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 @@ -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 @@ -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 @@ -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
2 changes: 2 additions & 0 deletions deploy/helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ imagePullSecrets: []
podAnnotations:
prometheus.io/port: '8888'
prometheus.io/scrape: 'true'
clickhouse-operator-metrics/port: '9999'
clickhouse-operator-metrics/scrape: 'true'
# nameOverride -- override name of the chart

nameOverride: ""
Expand Down
Loading

0 comments on commit dd5bd9b

Please sign in to comment.