Skip to content

Commit

Permalink
OPIK-802: add an option to use external clickhouse (#1065)
Browse files Browse the repository at this point in the history
* OPIK-802: add an option to use external clickhouse

* Update Helm documentation

---------

Co-authored-by: CometActions <github-actions@comet.com>
  • Loading branch information
liyaka and CometActions authored Jan 16, 2025
1 parent 6f0fed4 commit 07cf99a
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 4 deletions.
6 changes: 3 additions & 3 deletions deployment/helm_chart/opik/Chart.lock
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ dependencies:
version: 0.23.7
- name: common
repository: oci://registry-1.docker.io/bitnamicharts
version: 2.27.0
digest: sha256:abbf693f77864eb242acd9cce31514c3c4335c0a52f10471ac8d43a67c02e0d4
generated: "2024-11-17T14:25:02.348737+02:00"
version: 2.29.0
digest: sha256:0f823c2e6559110ba3b340131758755ddd0f8f50322365f955a84e5edf8f7e1c
generated: "2025-01-16T21:46:20.505686+02:00"
1 change: 1 addition & 0 deletions deployment/helm_chart/opik/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ dependencies:
- name: altinity-clickhouse-operator
version: "0.23.7"
repository: https://docs.altinity.com/clickhouse-operator/
condition: clickhouse.enabled
- name: common
version: 2.x.x
repository: oci://registry-1.docker.io/bitnamicharts
Expand Down
1 change: 1 addition & 0 deletions deployment/helm_chart/opik/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ Call opik api on http://localhost:5173/api
| clickhouse.adminUser.username | string | `"opik"` | |
| clickhouse.backup.enabled | bool | `false` | |
| clickhouse.backup.successfulJobsHistoryLimit | int | `1` | |
| clickhouse.enabled | bool | `true` | |
| clickhouse.image | string | `"altinity/clickhouse-server:24.3.5.47.altinitystable"` | |
| clickhouse.logsLevel | string | `"information"` | |
| clickhouse.monitoring.enabled | bool | `false` | |
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{ if .Values.clickhouse.backup.enabled }}
{{ if and .Values.clickhouse.enabled .Values.clickhouse.backup.enabled }}
apiVersion: batch/v1
kind: CronJob
metadata:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if .Values.clickhouse.enabled }}
apiVersion: clickhouse.altinity.com/v1
kind: ClickHouseInstallation
metadata:
Expand Down Expand Up @@ -110,3 +111,4 @@ spec:
resources:
requests:
storage: {{ .Values.clickhouse.storage }}
{{- end }}
1 change: 1 addition & 0 deletions deployment/helm_chart/opik/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ altinity-clickhouse-operator:
enabled: false

clickhouse:
enabled: true
shardsCount: 1
replicasCount: 1
image: altinity/clickhouse-server:24.3.5.47.altinitystable
Expand Down

0 comments on commit 07cf99a

Please sign in to comment.