Repository navigation
Helm: Point flower extraNetworkPolicies deprecation at the real key - #72052
Merged
Miretpl merged 1 commit intoSep 2, 2026
Merged
Conversation
The deprecation notice has named `flower.networkPolicy.peers` since the parameter was restructured, but that key never shipped. `flower.networkPolicy` is declared with `additionalProperties: false`, so anyone who follows the notice hits a schema validation error and cannot install or upgrade at all. The warning fires only when the deprecated parameter is set, so it reaches exactly the users who are trying to migrate and sends them into a dead end.
Eason09053360
requested review from
Miretpl,
bugraoz93,
hussein-awala,
jedcunningham and
jscheffl
as code owners
August 25, 2026 09:40
Miretpl
approved these changes
Sep 2, 2026
Contributor
Backport successfully created: chart/v1-2x-testNote: As of Merging PRs targeted for Airflow 3.X In matter of doubt please ask in #release-management Slack channel.
|
Miretpl
pushed a commit
that referenced
this pull request
Sep 2, 2026
…n at the real key (#72052) (#72436) The deprecation notice has named `flower.networkPolicy.peers` since the parameter was restructured, but that key never shipped. `flower.networkPolicy` is declared with `additionalProperties: false`, so anyone who follows the notice hits a schema validation error and cannot install or upgrade at all. The warning fires only when the deprecated parameter is set, so it reaches exactly the users who are trying to migrate and sends them into a dead end. (cherry picked from commit bdb9580) Co-authored-by: Y-C <[email protected]> Co-authored-by: Eason09053360 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The chart's post-install
NOTES.txttells anyone still on the deprecatedflower.extraNetworkPoliciesto migrate toflower.networkPolicy.peers.That key does not exist. The parameter that actually replaced it is
flower.networkPolicy.ingress.from— what the template reads, and whatvalues.yaml,values.schema.jsonandRELEASE_NOTES.rstall document.It is not just a wrong name in a message.
flower.networkPolicyis declaredwith
additionalProperties: false, so following the warning fails the installoutright:
while the corrected key renders as intended:
The warning is gated on
.Values.flower.extraNetworkPoliciesbeing set, so itreaches exactly the users who are mid-migration — and sends them to a key Helm
rejects.
The wrong spelling dates back to #16619, which renamed the parameter to
networkPolicy.ingress.fromduring review but left theNOTES.txtstrings onthe earlier
networkPolicy.peersname. That commit introduced the identicalbug in the
webservernotice too; that one disappeared with the Airflow 3webserver removal, leaving only flower's.
On testing
No test is added.
Was generative AI tooling used to co-author this PR?
Generated-by: Claude Code (Opus 5) following the guidelines