fix(docker-compose): remove shell interpolation
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
This commit is contained in:
parent
b886e9b242
commit
33f571acc4
3 changed files with 3 additions and 3 deletions
|
|
@ -161,7 +161,7 @@ services:
|
||||||
done
|
done
|
||||||
|
|
||||||
echo "clickhouse is up - executing command"
|
echo "clickhouse is up - executing command"
|
||||||
clickhouse-client -h ${CH_HOST} --user ${CH_USERNAME} ${CH_PASSWORD} --port ${CH_PORT} --multiquery < /tmp/init_schema.sql || true
|
clickhouse-client -h clickhouse-openreplay-clickhouse.db.svc.cluster.local --user default --port 8123 --multiquery < /tmp/init_schema.sql || true
|
||||||
|
|
||||||
alerts-openreplay:
|
alerts-openreplay:
|
||||||
image: public.ecr.aws/p1t3u8a3/alerts:${COMMON_VERSION}
|
image: public.ecr.aws/p1t3u8a3/alerts:${COMMON_VERSION}
|
||||||
|
|
|
||||||
|
|
@ -161,7 +161,7 @@ services:
|
||||||
done
|
done
|
||||||
|
|
||||||
echo "clickhouse is up - executing command"
|
echo "clickhouse is up - executing command"
|
||||||
clickhouse-client -h ${CH_HOST} --user ${CH_USERNAME} ${CH_PASSWORD} --port ${CH_PORT} --multiquery < /tmp/init_schema.sql || true
|
clickhouse-client -h {{.Values.global.clickhouse.chHost}} --user {{.Values.global.clickhouse.username}} --port {{.Values.global.clickhouse.service.dataPort}} --multiquery < /tmp/init_schema.sql || true
|
||||||
|
|
||||||
{{- define "service" -}}
|
{{- define "service" -}}
|
||||||
{{- $service_name := . }}
|
{{- $service_name := . }}
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{{- $excludedKeys := list "POD_NAMESPACE" -}}
|
{{- $excludedKeys := list "POD_NAMESPACE" -}}
|
||||||
{{ range (index .Values.spec.template.spec.containers 0).env -}}
|
{{ range (index .Values.spec.template.spec.containers 0).env -}}
|
||||||
{{- if not (has .name $excludedKeys) -}}
|
{{- if not (has .name $excludedKeys) -}}
|
||||||
{{ .name }}="{{ .value }}"
|
{{ .name }}="{{ if eq .value "<no value>" }}{{ else }}{{ .value }}{{ end }}"
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue