Is this part in my config correct? database: ...
# ask-ai
r
Is this part in my config correct? database: type: "external" host: "airbyte-db.acc.cloud.jumbo.com" user: "airbyte" password: "DATABASE_PASSWORD" database: "airbyte" port: 5432 secretName: "airbyte-config-secrets" userSecretKey: "DATABASE_USER" passwordSecretKey: "DATABASE_PASSWORD"
k
Based on the knowledge sources provided, your configuration for an external database in Airbyte looks mostly correct, but there are a couple of points to note: 1. The
host
value should not include the
<http://
or
|
characters. It should be a plain hostname or IP address. 2. The
password
field should not be set directly in the configuration. Instead, it should be stored in the secret specified by
secretName
. Here's a corrected version of your configuration:
Copy code
yaml database:   type: "external"   host: "<http://airbyte-db.acc.cloud.jumbo.com|airbyte-db.acc.cloud.jumbo.com>"   user: "airbyte"   database: "airbyte"   port: 5432   secretName: "airbyte-config-secrets"   userSecretKey: "DATABASE_USER"   passwordSecretKey: "DATABASE_PASSWORD"
Make sure you have created a Kubernetes secret named
airbyte-config-secrets
containing the keys
DATABASE_USER
and
DATABASE_PASSWORD
with the appropriate values. This configuration aligns with the examples provided in the [Airbyte documentation](https://docs.airbyte.com/deploying-airbyte/integrations/database) and [GitHub issues](https://github.com/airbytehq/airbyte/issues/48854) discussing external database setup.