Skip to content

Commit a17adec

Browse files
authored
Merge pull request #369 from tssurya/cut-release-0.2
Cut release v0.2.0
2 parents 17ab75d + 24f3050 commit a17adec

4 files changed

Lines changed: 36 additions & 6 deletions

File tree

CHANGELOG.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
- [v0.1.0](#v010)
66
- [v0.1.1](#v011)
77
- [v0.1.7](#v017)
8+
- [v0.2.0](#v020)
89

910
# v0.1.0
1011

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

67+
Please check out the [network-policy-api website](https://network-policy-api.sigs.k8s.io/) for more information.
68+
69+
# v0.2.0
70+
71+
API Version: v1alpha2
72+
73+
This is a major release of the network-policy-api that introduces v1alpha2 with
74+
a single unified resource for cluster administrators:
75+
76+
- ClusterNetworkPolicy (CNP)
77+
78+
ClusterNetworkPolicy combines the previously separate AdminNetworkPolicy and
79+
BaselineAdminNetworkPolicy resources into a single CRD with a `tier` field
80+
(Admin or Baseline) to control policy precedence.
81+
See [NPEP-285](https://network-policy-api.sigs.k8s.io/npeps/npep-285-combine-crds)
82+
for more details.
83+
84+
The key changes since v0.1.7 include:
85+
86+
- **NPEP-285: Combine ANP and BANP into ClusterNetworkPolicy** - A single CRD
87+
with `tier` field replaces the two separate resources. The `Allow` action has
88+
been renamed to `Accept`.
89+
- **NPEP-187: Ports and Protocols** - The `ports` field has been replaced with
90+
a new `protocols` field that provides explicit per-protocol matching for TCP,
91+
UDP, and SCTP with clearer semantics.
92+
- Updated conformance tests for the new v1alpha2 API
93+
- Reduced MaxItems from 100 to 25 for rules and peers
94+
- Updated documentation and user stories for ClusterNetworkPolicy
95+
6696
Please check out the [network-policy-api website](https://network-policy-api.sigs.k8s.io/) for more information.

config/crd/experimental/policy.networking.k8s.io_clusternetworkpolicies.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ apiVersion: apiextensions.k8s.io/v1
22
kind: CustomResourceDefinition
33
metadata:
44
annotations:
5-
api-approved.kubernetes.io: https://github.com/kubernetes-sigs/network-policy-api/pull/300
6-
policy.networking.k8s.io/bundle-version: v0.1.7
5+
api-approved.kubernetes.io: https://github.com/kubernetes-sigs/network-policy-api/pull/347
6+
policy.networking.k8s.io/bundle-version: v0.2.0
77
policy.networking.k8s.io/channel: experimental
88
name: clusternetworkpolicies.policy.networking.k8s.io
99
spec:

config/crd/standard/policy.networking.k8s.io_clusternetworkpolicies.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ apiVersion: apiextensions.k8s.io/v1
22
kind: CustomResourceDefinition
33
metadata:
44
annotations:
5-
api-approved.kubernetes.io: https://github.com/kubernetes-sigs/network-policy-api/pull/300
6-
policy.networking.k8s.io/bundle-version: v0.1.7
5+
api-approved.kubernetes.io: https://github.com/kubernetes-sigs/network-policy-api/pull/347
6+
policy.networking.k8s.io/bundle-version: v0.2.0
77
policy.networking.k8s.io/channel: standard
88
name: clusternetworkpolicies.policy.networking.k8s.io
99
spec:

pkg/generator/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ const (
3232
channelAnnotation = "policy.networking.k8s.io/channel"
3333

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

3939
var standardKinds = map[string]bool{

0 commit comments

Comments
 (0)