Skip to content

Commit

Permalink
feat: Add SSL/TLS support for ClickHouse connections
Browse files Browse the repository at this point in the history
  • Loading branch information
patsevanton committed Dec 21, 2024
1 parent e41979b commit 22baa16
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion snuba/settings/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
"password": os.environ.get("CLICKHOUSE_PASSWORD", ""),
"database": os.environ.get("CLICKHOUSE_DATABASE", "default"),
"http_port": int(os.environ.get("CLICKHOUSE_HTTP_PORT", 8123)),
"secure": os.environ.get("CLICKHOUSE_SECURE", "0") == "1",
"secure": os.environ.get("CLICKHOUSE_SECURE", False),
"ca_certs": os.environ.get("CLICKHOUSE_CA_CERTS"),
"verify": os.environ.get("CLICKHOUSE_VERIFY"),
"storage_sets": {
Expand Down
2 changes: 1 addition & 1 deletion snuba/settings/settings_distributed.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"password": os.environ.get("CLICKHOUSE_PASSWORD", ""),
"database": os.environ.get("CLICKHOUSE_DATABASE", "default"),
"http_port": int(os.environ.get("CLICKHOUSE_HTTP_PORT", 8123)),
"secure": os.environ.get("CLICKHOUSE_SECURE", "0") == "1",
"secure": os.environ.get("CLICKHOUSE_SECURE", False),
"ca_certs": os.environ.get("CLICKHOUSE_CA_CERTS"),
"verify": os.environ.get("CLICKHOUSE_VERIFY"),
"storage_sets": {
Expand Down

0 comments on commit 22baa16

Please sign in to comment.