API Version: v1alpha2
This is a minor release of the network-policy-api that introduces v1alpha2 version of the API with
a single unified resource for cluster administrators:
- ClusterNetworkPolicy (CNP)
ClusterNetworkPolicy combines the previously separate AdminNetworkPolicy and
BaselineAdminNetworkPolicy resources into a single CRD with a tier field
(Admin or Baseline) to control policy precedence. See NPEP-285 for more details.
The new aspects of the API being released here that are worth highlighting include:
- The
Allowaction has been renamed toAccept. - NPEP-187: Ports and Protocols - The
portsfield has been replaced with
a newprotocolsfield that provides explicit per-protocol matching for TCP,
UDP, and SCTP with clearer semantics. - Reduced MaxItems from 100 to 25 for rules and peers
What's Changed
- npep-285: Combine ANP and BANP by @npinaeva in #289
- ClusterNetworkPolicy: implementation and clients by @npinaeva in #306
- [CRD doc] replace "lower priority" with "lower precedence". by @npinaeva in #310
- Allow => Accept by @bowei in #318
- Remove dependency on perl (for awk) in the update codegen script by @bowei in #327
- use latest version of kube-network-policies for testing by @aojea in #322
- Bump 1.34 by @aojea in #323
- Update the Makefile help text to include all of the targets by @bowei in #325
- CNP update tests by @npinaeva in #307
- Update OWNERS by @npinaeva in #334
- Update the user stories to ClusterNetworkPolicy by @bowei in #321
- Change MaxItems from 100 to 25 by @bowei in #329
- Fix
make conformanceto select only the requested tests by @bowei in #336 - Some fixes to codegen by @bowei in #337
- Update comment to match validation rules (100 => 25) by @bowei in #338
- Adds unit test to test CRDs by @bowei in #331
- CNP: update docs to use CNP instead of ANP and BANP by @npinaeva in #333
- [conformance] Make host network ports configurable. by @npinaeva in #345
- npep-187: More protocols support by @npinaeva in #297
- Implements option #3 (npep-187: More protocols support) by @bowei in #347
- Fix typo 'continguous'. by @fasaxc in #356
- Update conformance test for new protocol/port schema by @TheBeeZee in #357
- Conformance: Improve test reliability by @mazdakn in #353
- [conformance] increase test timeout due to the added retries by @npinaeva in #362
- Bump k8s dependencies to 1.35.2 and lint v2 by @tssurya in #373
- Run make docs by @tssurya in #367
- Update docs to match port/protocol schema changes in v1alpha2 by @TheBeeZee in #363
- chore(docs): add cnp support in kube-ovn by @SkalaNetworks in #354
- Add a simple dependabot config by @npinaeva in #377
- Bump golang from 1.15 to 1.26 by @dependabot[bot] in #378
- Cut release v0.2.0 by @tssurya in #369
New Contributors
- @bowei made their first contribution in #318
- @TheBeeZee made their first contribution in #357
- @mazdakn made their first contribution in #353
- @SkalaNetworks made their first contribution in #354
- @dependabot[bot] made their first contribution in #378
Full Changelog: v0.1.7...v0.2.0