Repository navigation
v0.2.1
API Version: v1alpha2
This is a patch release of the network-policy-api on top of v0.2.0. It continues
to ship the single unified resource for cluster administrators:
- ClusterNetworkPolicy (CNP)
There are no breaking changes to the shape of the API in this release. The
changes are focused on API validation fixes, channel placement corrections, and
a large set of conformance test and documentation improvements.
The key changes since v0.2.0 include:
- API validation fixes:
- CIDR fields must now be in canonical (masked) form, so a value with host
bits set such as10.1.2.3/8is rejected (use10.0.0.0/8). - Fixed the
DomainNamevalidation pattern to reject invalid characters.
- CIDR fields must now be in canonical (masked) form, so a value with host
- NamedPort is experimental again - The
namedPort/destinationNamedPort
fields have been moved back to the experimental channel while the design is
finalized, so they are no longer present in the standard channel CRDs. - Conformance tests:
- New coverage: CRD CEL validation, CNP pod and namespace selector changes,
ingress/egress isolation and same-priority CNPs across the Admin and Baseline
tiers, and PortRange. - Replaced the partial result status with optional tests.
- The report's bundle version now comes from the installed CRDs'
bundle-versionannotation and must match the suite's; the
networkPolicyV2APIVersionfield was renamed tonetworkPolicyBundleVersion.
- New coverage: CRD CEL validation, CNP pod and namespace selector changes,
- Documentation:
- Added a conformance reports README and submission process, instructions for
running the suite, and the kube-network-policies v0.2.0 report. - Clarified hairpinning (service hairpin enforcement preferred for beta), ICMP
handling, and theAccept/Deny/Passaction descriptions.
- Added a conformance reports README and submission process, instructions for
New Contributors
- @anthonyrtong made their first contribution in #375
- @vpbh made their first contribution in #391
Contributors
Thanks to everyone who contributed to this release: @npinaeva, @vpbh, @TheBeeZee, @anthonyrtong, @bowei, @tssurya, @danwinship, @fasaxc, @mazdakn
Full Changelog: v0.2.0...v0.2.1