orchestrator/clickhouse: remove init.sh endpoint

Instead, just map configuration files inside the container. As we don't
have to push the schema anymore, pushing some arbitrary configuration
does not seem to be our job.
This commit is contained in:
Vincent Bernat
2024-06-18 18:50:34 +02:00
parent 8ae23f9ae3
commit c70f3b74bf
16 changed files with 52 additions and 155 deletions

View File

@@ -372,14 +372,3 @@ FROM system.errors
ORDER BY last_error_time LIMIT 10
FORMAT Vertical
```
Notably, it may complain about a missing schema for a received
message. In this case, you need to ensure the schemas used by
*Akvorado* are available. When using `docker compose`, you can restart
the orchestrator and ClickHouse to ensure it downloads the latest
schemas. Otherwise, you can manually execute the script installing the
schemas on your ClickHouse server and restart:
```sh
curl http://akvorado/api/v0/orchestrator/clickhouse/init.sh | sh
```