Issue with ExternalDatabase and strange AIRFLOW__DATABASE__SQL_ALCHEMY_CONN
#930
Unanswered
RafaelAMello
asked this question in
Questions & Answers
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi I'm looking to deploy latest with a custom image and an external database
I've built an image and deployed it plus deploying with this command:
helm upgrade --force \ --install airflow apache-airflow/airflow \ --namespace airflow --create-namespace \ --values values.yamlvalues.yamlWhatever I do though the run migrations job gets stuck:
with environment variables:
Environment variables
PYTHONUNBUFFERED=1
AIRFLOW__CORE__FERNET_KEY=airflow-fernet-key.fernet-key
AIRFLOW_HOME=/opt/airflow
AIRFLOW__CORE__SQL_ALCHEMY_CONN=airflow-metadata.connection
AIRFLOW__DATABASE__SQL_ALCHEMY_CONN=airflow-metadata.connection
AIRFLOW_CONN_AIRFLOW_DB=airflow-metadata.connection
AIRFLOW__API__SECRET_KEY=airflow-api-secret-key.api-secret-key
AIRFLOW__API_AUTH__JWT_SECRET=airflow-jwt-secret.jwt-secret
AIRFLOW__CELERY__BROKER_URL=airflow-broker-url.connection
The result is a AIRFLOW__DATABASE__SQL_ALCHEMY_CONN that looks like this:
postgresql://postgres:[email protected]:5432/postgres?sslmode=disableWhy? How can I configure this?
Beta Was this translation helpful? Give feedback.
All reactions