You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Proposal: Improve dag_bundle_config_list Configuration in Airflow Helm Chart #60630
Currently, the dag_bundle_config_list configuration in the Airflow Helm chart(1.18.0) requires users to provide a JSON string directly in the values file. This approach has several drawbacks:
Poor Readability: Long JSON strings in YAML files are difficult to read and maintain, especially when configuring multiple DAG bundles.
Error-Prone: Manual JSON string construction is prone to syntax errors (missing quotes, commas, brackets, etc.).
Limited IDE Support: IDEs cannot provide proper syntax highlighting, validation, or autocomplete for JSON strings embedded in YAML.
As you can see, this becomes unwieldy even with just two bundles, and it gets significantly worse with more configurations.
Proposed Solution
Allow users to define DAG bundle configurations in a structured YAML format, and use a Helm template helper function to automatically convert it to the required JSON string format.
This proposal is open for discussion and feedback. I welcome suggestions for improvements or alternative approaches.
And, I would appreciate the opportunity to revise it myself.
Defining dag_bundle_config_list as an embedded JSON string in values.yaml is difficult to read and maintain, particularly for multiple bundles. A structured YAML configuration that is rendered to JSON via a Helm helper would improve readability, reduce errors, and provide better IDE support.
For implementation, it would be good to consider backward compatibility with the existing string-based configuration, as well as clearly documenting precedence if both options are provided.
This seems like a reasonable usability improvement for the Helm chart.
For implementation, it would be good to consider backward compatibility with the existing string-based configuration, as well as clearly documenting precedence if both options are provided.
@kunaljoshi-creator
That's a great point. I agree with considering backward compatibility and precedence during implementation.
Activity
uplsh580 commentedon Jan 16, 2026
This proposal is open for discussion and feedback. I welcome suggestions for improvements or alternative approaches.
And, I would appreciate the opportunity to revise it myself.
kunaljoshi-creator commentedon Jan 16, 2026
Defining dag_bundle_config_list as an embedded JSON string in values.yaml is difficult to read and maintain, particularly for multiple bundles. A structured YAML configuration that is rendered to JSON via a Helm helper would improve readability, reduce errors, and provide better IDE support.
For implementation, it would be good to consider backward compatibility with the existing string-based configuration, as well as clearly documenting precedence if both options are provided.
This seems like a reasonable usability improvement for the Helm chart.
uplsh580 commentedon Jan 16, 2026
@kunaljoshi-creator
That's a great point. I agree with considering backward compatibility and precedence during implementation.