fix(database): using env variable instead of simple variable

This commit is contained in:
Philippe Caseiro 2023-04-24 12:14:06 +02:00
parent 79ebc425c5
commit fb97a91e13
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ secretgenerator:
- name: airflow-postgres-connection
type: Secret
literals:
- connection=postgresql://airflow:NotSoSecret@$(AIRFLOW_DATABASE_SERVICE_NAME):5432/airflow
- connection=postgresql://airflow:NotSoSecret@${AIRFLOW_POSTGRES_RW_SERVICE_HOST}:5432/airflow
vars:
- name: AIRFLOW_DATABASE_SERVICE_NAME