Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
- [v0.1.0](#v010)
- [v0.1.1](#v011)
- [v0.1.7](#v017)
- [v0.2.0](#v020)

# v0.1.0

Expand Down Expand Up @@ -63,4 +64,33 @@ could compound to many possible ways of expressing relations that would exceed c
community is working on a better API proposal for tenancy. See [NPEP-122](https://github.com/kubernetes-sigs/network-policy-api/pull/178)
for more details.

Please check out the [network-policy-api website](https://network-policy-api.sigs.k8s.io/) for more information.

# v0.2.0

API Version: v1alpha2

This is a major release of the network-policy-api that introduces v1alpha2 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](https://network-policy-api.sigs.k8s.io/npeps/npep-285-combine-crds)
for more details.

The key changes since v0.1.7 include:

- **NPEP-285: Combine ANP and BANP into ClusterNetworkPolicy** - A single CRD
with `tier` field replaces the two separate resources. The `Allow` action has
been renamed to `Accept`.
- **NPEP-187: Ports and Protocols** - The `ports` field has been replaced with
a new `protocols` field that provides explicit per-protocol matching for TCP,
UDP, and SCTP with clearer semantics.
- Updated conformance tests for the new v1alpha2 API
- Reduced MaxItems from 100 to 25 for rules and peers
- Updated documentation and user stories for ClusterNetworkPolicy

Please check out the [network-policy-api website](https://network-policy-api.sigs.k8s.io/) for more information.
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
api-approved.kubernetes.io: https://github.com/kubernetes-sigs/network-policy-api/pull/300
policy.networking.k8s.io/bundle-version: v0.1.7
api-approved.kubernetes.io: https://github.com/kubernetes-sigs/network-policy-api/pull/347
policy.networking.k8s.io/bundle-version: v0.2.0
policy.networking.k8s.io/channel: experimental
name: clusternetworkpolicies.policy.networking.k8s.io
spec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
api-approved.kubernetes.io: https://github.com/kubernetes-sigs/network-policy-api/pull/300
policy.networking.k8s.io/bundle-version: v0.1.7
api-approved.kubernetes.io: https://github.com/kubernetes-sigs/network-policy-api/pull/347
policy.networking.k8s.io/bundle-version: v0.2.0
policy.networking.k8s.io/channel: standard
name: clusternetworkpolicies.policy.networking.k8s.io
spec:
Expand Down
4 changes: 2 additions & 2 deletions pkg/generator/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ const (
channelAnnotation = "policy.networking.k8s.io/channel"

// These values must be updated during the release process
bundleVersion = "v0.1.7"
approvalLink = "https://github.com/kubernetes-sigs/network-policy-api/pull/300"
bundleVersion = "v0.2.0"
approvalLink = "https://github.com/kubernetes-sigs/network-policy-api/pull/347"
)

var standardKinds = map[string]bool{
Expand Down
Loading