Hey, a quick question about <https://docs.airbyte....
# ask-community-for-troubleshooting
n
Hey, a quick question about https://docs.airbyte.com/deploying-airbyte/on-kubernetes-via-helm/#database-external-secrets it expect a k8s secret with the db password? how about the user??
✍️ 1
u
@[DEPRECATED] Marcos Marx turned this message into Zendesk ticket 2657 to ensure timely resolution!
d
Question about your question @Nicola Corda. Is this for an external application database, or for a database used as a source/destination?
n
for the application db. I’m going to deploy a small RDS instance for it.
s
@Nicola Corda, take a look at the values.yml files in the charts directory: https://github.com/airbytehq/airbyte/tree/master/charts You can specify the db user in the secrets object
n
@Saj Dider (Airbyte) is not really clear how/where. To rephrase. What shall I put in the secret? just the plain password, or how the object look like
d
What is the difference between that object and the externalDatabase?
n
mmm I think that what I need is then: externalDatabase actually
then what is this global.database??
d
My question too 🙂
🙏 2
s
I misspoke earlier about the secrets object, that’s part of the metrics config not the db config. Airbyte uses multiple databases to keep track of different types of information. By default, Airbyte uses a PostgreSQL database for the airbyte/db component and the externalDatabase lets you specify a different postgres db (your own). Here's an answer from someone more knowledgeable on our team: https://airbytehq-team.slack.com/archives/C021JANJ6TY/p1665165246988919!
n
Ah gotcha. I need to put database.enable to false then use external Databases. This database enable seems not part of the values.yaml
d
I spun up a Postgres DB to be used as an external DB, but it doesn’t look like anything changed.
Copy code
global.database.enabled: false
postgresql.enabled: false
externalDatabase:
  host: ${db_host}
  user: ${db_user}
  password: ${db_password}
  database: ${db_name}
  port: ${db_port}