kishorek07 opened a new pull request, #60107:
URL: https://github.com/apache/airflow/pull/60107
## Problem
When using an external PostgreSQL instance and setting
`postgresql.enabled=false` in `values.yaml`, the Airflow Helm chart still
renders and deploys PostgreSQL-related resources such as:
- Migration jobs
- Helm hooks (`pre-install`, `post-upgrade`)
- Cleanup jobs
This causes errors during deployment and breaks compatibility with external
PostgreSQL setups.
## Solution
Wrapped PostgreSQL-specific templates with a conditional check:
- `if .Values.postgresql.enabled`
- PostgreSQL-related Job / Hook definitions
- `end`
This ensures PostgreSQL hooks and jobs are skipped when PostgreSQL is
disabled.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]