alikhtag opened a new pull request #10302: URL: https://github.com/apache/airflow/pull/10302
There is a BUG in helm chart where, setting anything in `podMutation` in `values.yaml` does not seem to affect anything. Currently these `podMutations` will not apply during deployment to `airflow_local_settings.py`, hence they will not be used by Kubernetes Executor and Pod Operator to correctly set `taints` and `affinities` in pod configuration. This PR should fix this, but only if `.Values.scheduler.airflowLocalSettings` were not set but it seems it was by design originally. ### If you like to reproduce the bug: * Firstly use `KubernetesExecutor` for the `Airflow` deployment. * Simply add desired `toleration` and/or `affinity` in `podMutation`. * Deploy some dag/task etc. * Check that newly created pods do not have either `tolerations` and `affinities` set in their pod configuration. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected]
