Skip to content

v0.2.1

Choose a tag to compare

@tssurya tssurya released this 30 Oct 12:35
· 19 commits to main since this release
2383f01

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 as 10.1.2.3/8 is rejected (use 10.0.0.0/8).
    • Fixed the DomainName validation pattern to reject invalid characters.
  • 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-version annotation and must match the suite's; the
      networkPolicyV2APIVersion field was renamed to networkPolicyBundleVersion.
  • 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 the Accept/Deny/Pass action descriptions.

New Contributors

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