can we have a non ssl external postgres database f...
# ask-ai
t
can we have a non ssl external postgres database for airbyte?
k
Based on the knowledge sources, there is a known issue with using a non-SSL external PostgreSQL database for Airbyte. The platform currently assumes that external databases require SSL/TLS, which can cause connectivity problems when SSL is not enabled. According to [Platform Chart changes to Temporal Deployment causing TLS issues](https://github.com/airbytehq/airbyte/issues/43328), when using an external database, the Temporal deployment automatically sets TLS environment variables to
true
, which causes issues if your database doesn't have SSL enabled. This is particularly problematic when using solutions like CloudSQL Auth Proxy or other sidecar proxies that handle encryption separately. Workaround: As mentioned in the [GitHub issue discussion](https://github.com/airbytehq/airbyte/issues/43328), you can work around this by setting
global.database.type
to
internal
in your
values.yaml
file, even when using an external database:
Copy code
yaml postgresql:   enabled: false  global:   database:     type: "internal"  # Set to internal to avoid TLS assumptions     host: "your-database-host"     port: 5432     database: "airbyte"     user: "your-user"     password: "your-password"
This workaround prevents the automatic TLS configuration from being applied to the Temporal deployment while still allowing you to use an external database. However, this is acknowledged as a temporary solution, and there are [ongoing discussions](https://github.com/airbytehq/airbyte/issues/48504) about adding proper configuration options to explicitly enable/disable SSL for external databases.