Skip to content
This repository has been archived by the owner on Feb 6, 2024. It is now read-only.

Commit

Permalink
Add support for s3 endpoints configuration (#78)
Browse files Browse the repository at this point in the history
Adds support for endpoint-based s3 configuration.
https://clickhouse.com/docs/en/engines/table-engines/integrations/s3/#endpoint-settings

Change-Id: I220cc94656420759c334d26d840a4d0f985b7f75
  • Loading branch information
AntonFriberg authored Mar 23, 2022
1 parent 41f4126 commit 67cae34
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions templates/config.j2
Original file line number Diff line number Diff line change
Expand Up @@ -500,4 +500,16 @@
</user_directories>
{% endif %}

{% if clickhouse_s3_endpoints is defined %}
<s3>
{% for s3_endpoint in clickhouse_s3_endpoints %}
<{{ s3_endpoint }}>
{% for key, value in clickhouse_s3_endpoints[s3_endpoint].items() %}
<{{ key }}>{{ value }}</{{ key }}>
{% endfor %}
</{{ s3_endpoint }}>
{% endfor %}
</s3>
{% endif %}

</yandex>

0 comments on commit 67cae34

Please sign in to comment.