Skip to content

Commit

Permalink
Change ClickHouse volume ownership (#557)
Browse files Browse the repository at this point in the history
Signed-off-by: Yanjun Zhou <[email protected]>
  • Loading branch information
yanjunz97 authored Oct 17, 2023
1 parent 6315647 commit 607a419
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions build/charts/theia/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@
- name: clickhouse
image: {{ include "clickHouseServerImage" . | quote }}
imagePullPolicy: {{ $clickhouse.image.pullPolicy }}
command:
- /bin/sh
- -c
- chown -R clickhouse:clickhouse /var/lib/clickhouse && /entrypoint.sh
volumeMounts:
- name: clickhouse-configmap-volume
mountPath: /docker-entrypoint-initdb.d
Expand Down
6 changes: 5 additions & 1 deletion build/yamls/flow-visibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7238,7 +7238,11 @@ spec:
type: MaxNumberPerNode
spec:
containers:
- env:
- command:
- /bin/sh
- -c
- chown -R clickhouse:clickhouse /var/lib/clickhouse && /entrypoint.sh
env:
- name: THEIA_VERSION
value: 0.8.0
- name: CLICKHOUSE_INIT_TIMEOUT
Expand Down

0 comments on commit 607a419

Please sign in to comment.