diff --git a/build/charts/theia/templates/_helpers.tpl b/build/charts/theia/templates/_helpers.tpl index a8b4c775..8c847a70 100644 --- a/build/charts/theia/templates/_helpers.tpl +++ b/build/charts/theia/templates/_helpers.tpl @@ -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 diff --git a/build/yamls/flow-visibility.yml b/build/yamls/flow-visibility.yml index 47ce15a5..1aec0ddb 100644 --- a/build/yamls/flow-visibility.yml +++ b/build/yamls/flow-visibility.yml @@ -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