fix(database): using variable instead of hardcoded value
This commit is contained in:
parent
8c6662e24f
commit
79ebc425c5
|
@ -10,12 +10,12 @@ configurations:
|
|||
resources:
|
||||
- ./resources/airflow-cnpg-cluster.yaml
|
||||
|
||||
secretGenerator:
|
||||
secretgenerator:
|
||||
- name: airflow-postgres-admin
|
||||
type: Secret
|
||||
type: secret
|
||||
literals:
|
||||
- username=postgres
|
||||
- password=NotSoSecret
|
||||
- password=notsosecret
|
||||
- name: airflow-postgres-user
|
||||
type: Secret
|
||||
literals:
|
||||
|
@ -24,7 +24,7 @@ secretGenerator:
|
|||
- name: airflow-postgres-connection
|
||||
type: Secret
|
||||
literals:
|
||||
- connection=postgresql://airflow:NotSoSecret@airflow-postgres-rw:5432/airflow
|
||||
- connection=postgresql://airflow:NotSoSecret@$(AIRFLOW_DATABASE_SERVICE_NAME):5432/airflow
|
||||
|
||||
vars:
|
||||
- name: AIRFLOW_DATABASE_SERVICE_NAME
|
||||
|
|
Loading…
Reference in New Issue