Repository navigation
docs: clarify network policy options in README - #2503
Merged
manuelbuil merged 1 commit intoJul 30, 2026
Merged
Conversation
locker95
force-pushed
the
docs/readme-network-policy
branch
from
July 27, 2026 18:23
e4b4c6d to
8387e17
Compare
manuelbuil
approved these changes
Jul 28, 2026
locker95
force-pushed
the
docs/readme-network-policy
branch
2 times, most recently
from
July 28, 2026 18:18
f62a0e1 to
10a6766
Compare
manuelbuil
approved these changes
Jul 29, 2026
flanneld itself does not enforce NetworkPolicy. Call out the Helm netpol controller option and common third-party setups so the README matches Documentation/netpol.md. Fixes flannel-io#2390 Signed-off-by: Dean Chen <862469039@qq.com>
locker95
force-pushed
the
docs/readme-network-policy
branch
from
July 29, 2026 09:26
10a6766 to
9d8d086
Compare
Collaborator
|
@locker95 are you a user of the network policy in flannel? |
Contributor
Author
|
@manuelbuil yeah — hit the README while wiring NetworkPolicy on a flannel cluster (helm netpol controller path). flanneld itself wasn't doing the enforcement so the old wording was a bit confusing; fixed it from that angle rather than being deep in netpol day-to-day. |
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.
Summary
The README currently says network policy needs other projects such as Calico. That is incomplete now that the Helm chart can deploy the Kubernetes SIGs network policy controller (
netpol.enabled), and it can read as if Flannel cannot be used with NetworkPolicy at all.This updates the README to:
flannelddoes not enforce policy itselfnetpoloptionDocumentation/netpol.mdSuggested wording was discussed in #2390.
Test plan
Documentation/netpol.mdFixes #2390