Louis Auneau
05/19/2023, 8:02 PMpostgresql.enabled: false in order to configure my own CloudSQL database, but I am having a hard time understanding the difference between the global.database and externalDatabase values?
Would you have any documentation explaining it ?
Thank you by advance and have a nice day !kapa.ai
05/19/2023, 8:02 PMkapa.ai
05/19/2023, 8:04 PMLouis Auneau
05/19/2023, 8:07 PMdatabase.enabled doesn’t exists 😞Anchit
05/23/2023, 10:39 PMexternalDatabase section. I've marked database.enabled to false. I'm not providing global.database.
externalDatabase:
host: <http://abcd.us-west-2.rds.amazonaws.com|abcd.us-west-2.rds.amazonaws.com>
existingSecret: airbyte-nonprod-secrets
existingSecretPasswordKey: DATABASE_PASSWORD
database: airbyte_db
I see this error while deploying
Error: couldn't find key DATABASE_PASSWORD in Secret airbyte-nonprod/airbyte-nonprod-airbyte-secrets
When I also configure global.database (same as externalDatabase), I'm able to deploy Airbyte successfully. Why can't I deploy without configuring global.database?kapa.ai
05/23/2023, 10:39 PMkapa.ai
05/23/2023, 10:40 PMglobal.database section in your values.yaml file when using external DB secrets. Here's the format: yaml global: database: secretName: "myOctaviaSecret" secretValue: "postgresql-password" host: "<http://example.com|example.com>" port: "5432" And then upgrade the chart by running: shell helm upgrade -f path/to/values.yaml %release_name% airbyte/airbyte (Source: [Slack Support Conversation](https://airbytehq.slack.com/archives/C021JANJ6TY/p1676022958892609)) However, if you still face issues, it's recommended to open a Github issue to report the problem and get further assistance from the Airbyte team.Anchit
05/23/2023, 10:41 PMglobal.database doesn't need to be configured if deploying entire Airbyte chart. Why do I need to define it then?
For your use case, since you're deploying the entire Airbyte chart and want to use an external CloudSQL database, you should configure the externalDatabase section in your values.yaml filekapa.ai
05/23/2023, 10:41 PMkapa.ai
05/23/2023, 10:42 PMexternalDatabase section in your values.yaml file. Here's the format: yaml externalDatabase: host: "<http://example.com|example.com>" user: "db_user" password: "db_password" database: "db_name" port: "5432" Additionally, set postgresql.enabled to `false`: yaml postgresql: enabled: false (Source: [Forum Discussion](https://discuss.airbyte.io/t/2914)) However, if you still face issues with the secrets configuration, it's recommended to open a Github issue to report the problem and get further assistance from the Airbyte team.