Skip to content

Improve consistency of values.yaml & misc#64559

Merged
jscheffl merged 11 commits intoapache:mainfrom
Miretpl:misc
Apr 3, 2026
Merged

Improve consistency of values.yaml & misc#64559
jscheffl merged 11 commits intoapache:mainfrom
Miretpl:misc

Conversation

@Miretpl
Copy link
Copy Markdown
Contributor

@Miretpl Miretpl commented Mar 31, 2026

The goal of this PR is to make Helm's values.yaml file more consistent in structure + some comments were rewritten to be clearer for users. After this PR, comments in values.yaml file are:

  1. If it is a field description, it is over the field
  2. If it is an example, it is under the field
  3. One format for deprecation comments

Furthermore, the smaller changes were added to this PR, like:

  1. Make sections in the airflow config file in the ConfigMap, separated by a new line
  2. Add a missing default value for workers.celery.priorityClassName in the values.schema.json file
  3. Fix wrong deprecation comment next to workers.hostAliases
  4. Add missing securityContext deprecations + for webserverSecretAnnotations

Was generative AI tooling used to co-author this PR?
  • Yes (please specify the tool below)

  • Read the Pull Request Guidelines for more information. Note: commit author/co-author name and email in commits become permanently public when merged.
  • For fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
  • When adding dependency, check compliance with the ASF 3rd Party License Policy.
  • For significant user-facing changes create newsfragment: {pr_number}.significant.rst, in airflow-core/newsfragments. You can add this file in a follow-up commit after the PR is created so you know the PR number.

@boring-cyborg boring-cyborg bot added the area:helm-chart Airflow Helm Chart label Mar 31, 2026
@Miretpl Miretpl marked this pull request as ready for review April 1, 2026 16:09
@Miretpl Miretpl changed the title Make values.yaml more consistent & misc Improve consistency of values.yaml & misc Apr 1, 2026
Copy link
Copy Markdown
Contributor

@jscheffl jscheffl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wow, impressive rework! Thanks!

@jscheffl jscheffl added the backport-to-chart/v1-2x-test Automatic backport to chart 1.2x maintenance branch label Apr 1, 2026
Copy link
Copy Markdown
Contributor

@bugraoz93 bugraoz93 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, Przemysław! Agree with Jens, impressive :D

@potiuk potiuk added the ready for maintainer review Set after triaging when all criteria pass. label Apr 1, 2026
@Miretpl Miretpl force-pushed the misc branch 2 times, most recently from 80fb0c7 to 329bf02 Compare April 1, 2026 21:45
@kaxil kaxil requested a review from Copilot April 2, 2026 00:41
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR refactors the Helm chart configuration documentation to make values.yaml structure and commenting more consistent, and includes a few small functional/schema tweaks to align defaults and improve generated airflow.cfg formatting.

Changes:

  • Reorganized and rewrote many chart/values.yaml comments for consistency (descriptions above fields, examples below, standardized deprecation notes).
  • Tweaked airflow.cfg rendering in the ConfigMap template to add spacing between sections.
  • Added a missing default: null for workers.celery.priorityClassName in the JSON schema.

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 3 comments.

File Description
chart/values.yaml Large-scale comment/documentation consistency updates plus a few clarified deprecation notes/examples.
chart/values.schema.json Adds an explicit default for priorityClassName to match chart defaults/intent.
chart/templates/configmaps/configmap.yaml Adjusts whitespace trimming to separate rendered airflow.cfg sections with a blank line.

@Miretpl Miretpl closed this Apr 3, 2026
@Miretpl Miretpl reopened this Apr 3, 2026
@jscheffl jscheffl merged commit c707a8a into apache:main Apr 3, 2026
280 of 284 checks passed
github-actions bot pushed a commit that referenced this pull request Apr 3, 2026
* Revert comments order to be consistent

* Add default value for workers.celery.priorityClassName

* Make values.yaml more consistent

* New line between sections in config

* Captialize some first letters & clean some comments

* Fix params & clarify comment

* Add missed pdb
(cherry picked from commit c707a8a)

Co-authored-by: Przemysław Mirowski <17602603+Miretpl@users.noreply.github.com>
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 3, 2026

Backport successfully created: chart/v1-2x-test

Note: As of Merging PRs targeted for Airflow 3.X
the committer who merges the PR is responsible for backporting the PRs that are bug fixes (generally speaking) to the maintenance branches.

In matter of doubt please ask in #release-management Slack channel.

Status Branch Result
chart/v1-2x-test PR Link

github-actions bot pushed a commit to aws-mwaa/upstream-to-airflow that referenced this pull request Apr 3, 2026
…64559)

* Revert comments order to be consistent

* Add default value for workers.celery.priorityClassName

* Make values.yaml more consistent

* New line between sections in config

* Captialize some first letters & clean some comments

* Fix params & clarify comment

* Add missed pdb
(cherry picked from commit c707a8a)

Co-authored-by: Przemysław Mirowski <17602603+Miretpl@users.noreply.github.com>
@Miretpl Miretpl deleted the misc branch April 3, 2026 16:22
jscheffl pushed a commit that referenced this pull request Apr 3, 2026
…#64664)

* Revert comments order to be consistent

* Add default value for workers.celery.priorityClassName

* Make values.yaml more consistent

* New line between sections in config

* Captialize some first letters & clean some comments

* Fix params & clarify comment

* Add missed pdb
(cherry picked from commit c707a8a)

Co-authored-by: Przemysław Mirowski <17602603+Miretpl@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:helm-chart Airflow Helm Chart backport-to-chart/v1-2x-test Automatic backport to chart 1.2x maintenance branch ready for maintainer review Set after triaging when all criteria pass.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants