Skip to content

Commit

Permalink
Default CH ssl to true and fix the failure if ssl property is missing (
Browse files Browse the repository at this point in the history
  • Loading branch information
grishick authored Feb 14, 2023
1 parent d7c0ff4 commit 6c8d3f6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion airbyte-integrations/bases/base-normalization/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ ENTRYPOINT ["/airbyte/entrypoint.sh"]

# 0.3.x is tombstoned.
# The next minor bump should go directly to 0.4.0
LABEL io.airbyte.version=0.2.25
LABEL io.airbyte.version=0.2.26
LABEL io.airbyte.name=airbyte/normalization
Original file line number Diff line number Diff line change
Expand Up @@ -325,10 +325,14 @@ def transform_clickhouse(config: Dict[str, Any]):
"port": config["port"],
"schema": config["database"],
"user": config["username"],
"secure": config["ssl"],
}
if "password" in config:
dbt_config["password"] = config["password"]

# ssl is an optional configuration and is not present in strict-encrypt config
# if ssl option is not present in the config - default to True
dbt_config["secure"] = config.get("ssl", True)

return dbt_config

@staticmethod
Expand Down

0 comments on commit 6c8d3f6

Please sign in to comment.