Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change ClickHouse volume ownership #557

Merged
merged 1 commit into from
Oct 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading