Skip to content

Commit f8d2f69

Browse files
committed
Cut release v0.1.7
Signed-off-by: Surya Seetharaman <[email protected]>
1 parent 7e5b3b1 commit f8d2f69

6 files changed

+38
-10
lines changed

CHANGELOG.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
- [v0.1.0](#v010)
66
- [v0.1.1](#v011)
7+
- [v0.1.7](#v017)
78

89
# v0.1.0
910

@@ -35,4 +36,31 @@ Additionally it includes many conformance test updates and fixes:
3536
- Increased default timeout
3637
- Removal of K8s.io/kubernetes dependency
3738

39+
Please check out the [network-policy-api website](https://network-policy-api.sigs.k8s.io/) for more information.
40+
41+
# v0.1.7
42+
43+
API Version: v1alpha1
44+
45+
This is a patch release of the network-policy-api. It includes two
46+
main resources geared towards cluster admins:
47+
48+
- AdminNetworkPolicy
49+
- BaselineAdminNetworkPolicy
50+
51+
The new aspects of the API being released here since v0.1.1 that are worth highlighting include:
52+
53+
- A new type of egress peer `networks` is supported to be able to express CIDR ranges as peers
54+
- An experimental egress peer `nodes` is supported to be able to express Kubernetes nodes as peers
55+
- An experimental egress peer `domainNames` is supported to be able to express FQDNs as peers
56+
- Docs text change around calling out that host-networked pods are not selected as part of subject or peers
57+
- More conformance tests specially for the new fields
58+
59+
Another noteworthy change is the removal of `sameLabels` and `notSameLabels` fields from the API.
60+
Originally these fields were added to be able to express a form of tenancy that was relative to
61+
the selected subject of the policy. Given the selection based on sameness and not-sameness of labels
62+
could compound to many possible ways of expressing relations that would exceed cardinality, the
63+
community is working on a better API proposal for tenancy. See [NPEP-122](https://github.com/kubernetes-sigs/network-policy-api/pull/178)
64+
for more details.
65+
3866
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_adminnetworkpolicies.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/30
6-
policy.networking.k8s.io/bundle-version: v0.1.1
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
77
policy.networking.k8s.io/channel: experimental
88
creationTimestamp: null
99
name: adminnetworkpolicies.policy.networking.k8s.io

config/crd/experimental/policy.networking.k8s.io_baselineadminnetworkpolicies.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/30
6-
policy.networking.k8s.io/bundle-version: v0.1.1
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
77
policy.networking.k8s.io/channel: experimental
88
creationTimestamp: null
99
name: baselineadminnetworkpolicies.policy.networking.k8s.io

config/crd/standard/policy.networking.k8s.io_adminnetworkpolicies.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/30
6-
policy.networking.k8s.io/bundle-version: v0.1.1
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
77
policy.networking.k8s.io/channel: standard
88
creationTimestamp: null
99
name: adminnetworkpolicies.policy.networking.k8s.io

config/crd/standard/policy.networking.k8s.io_baselineadminnetworkpolicies.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/30
6-
policy.networking.k8s.io/bundle-version: v0.1.1
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
77
policy.networking.k8s.io/channel: standard
88
creationTimestamp: null
99
name: baselineadminnetworkpolicies.policy.networking.k8s.io

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.1"
36-
approvalLink = "https://github.com/kubernetes-sigs/network-policy-api/pull/30"
35+
bundleVersion = "v0.1.7"
36+
approvalLink = "https://github.com/kubernetes-sigs/network-policy-api/pull/300"
3737
)
3838

3939
var standardKinds = map[string]bool{

0 commit comments

Comments
 (0)