Official Helm Chart version
1.1.0 (latest released)
Apache Airflow version
2.1.3 (latest released)
Kubernetes Version
1.21
Helm Chart configuration
data:
metadataSecretName: "airflow-metadata"
resultBackendSecretName: "airflow-result-backend"
Docker Image customisations
No response
What happened
If we only supply 1 secret with
connection: postgresql://airflow:password@postgres.rds:5432/airflow?sslmode=disable
To use for both metadata and resultBackendConnection then we end up with a connection error because
resultBackendConnection expects the string to be formatted like
connection: db+postgresql://airflow:password@postgres.rds:5432/airflow?sslmode=disable
from what i can tell
What you expected to happen
I'd expect to be able to use the same secret for both using the same format if they are using the same connection.
How to reproduce
Make a secret structured like above to look like the metadataConnection auto-generated secret.
use that same secret for the result backend.
deploy.
Anything else
Occurs always.
To get around currently we make 2 secrets one with just the db+ prepended.
Are you willing to submit PR?
Code of Conduct
Official Helm Chart version
1.1.0 (latest released)
Apache Airflow version
2.1.3 (latest released)
Kubernetes Version
1.21
Helm Chart configuration
data:
metadataSecretName: "airflow-metadata"
resultBackendSecretName: "airflow-result-backend"
Docker Image customisations
No response
What happened
If we only supply 1 secret with
To use for both metadata and resultBackendConnection then we end up with a connection error because
resultBackendConnection expects the string to be formatted like
from what i can tell
What you expected to happen
I'd expect to be able to use the same secret for both using the same format if they are using the same connection.
How to reproduce
Make a secret structured like above to look like the metadataConnection auto-generated secret.
use that same secret for the result backend.
deploy.
Anything else
Occurs always.
To get around currently we make 2 secrets one with just the db+ prepended.
Are you willing to submit PR?
Code of Conduct