From 69519afa05fa291dc481e98dca3956718975e220 Mon Sep 17 00:00:00 2001 From: Andrew Stoycos Date: Wed, 16 Aug 2023 11:18:10 -0400 Subject: [PATCH 1/2] setup for v0.1.1 release Add changelog, update version numbers. Signed-off-by: Andrew Stoycos --- CHANGELOG.md | 21 +++++++++++++++++++ ...etworking.k8s.io_adminnetworkpolicies.yaml | 4 ++-- ...g.k8s.io_baselineadminnetworkpolicies.yaml | 4 ++-- pkg/generator/main.go | 4 ++-- 4 files changed, 27 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 29c471ba..0a516e2f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ ## Table of Contents - [v0.1.0](#v010) +- [v0.1.1](#v011) # v0.1.0 @@ -15,3 +16,23 @@ main resources geared towards cluster admins: - BaselineAdminNetworkPolicy Please check out the [network-policy-api website](https://network-policy-api.sigs.k8s.io/) for more information. + +# v0.1.1 + +API Version: v1alpha1 + +This is a patch release of the network-policy-api. It includes two +main resources geared towards cluster admins: + +- AdminNetworkPolicy +- BaselineAdminNetworkPolicy + +Additionally it includes many conformance test updates and fixes: + +- Ingress/Egress Traffic conformance for TCP/UDP/SCTP +- Movement of base testing yamls +- Variable renaming and comment improvements +- Increased default timeout +- Removal of K8s.io/kubernetes dependency + +Please check out the [network-policy-api website](https://network-policy-api.sigs.k8s.io/) for more information. \ No newline at end of file diff --git a/config/crd/policy.networking.k8s.io_adminnetworkpolicies.yaml b/config/crd/policy.networking.k8s.io_adminnetworkpolicies.yaml index 1561fdcd..ac36e66c 100644 --- a/config/crd/policy.networking.k8s.io_adminnetworkpolicies.yaml +++ b/config/crd/policy.networking.k8s.io_adminnetworkpolicies.yaml @@ -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/106 - policy.networking.k8s.io/bundle-version: v0.1.0 + api-approved.kubernetes.io: https://github.com/kubernetes-sigs/network-policy-api/pull/135 + policy.networking.k8s.io/bundle-version: v0.1.1 creationTimestamp: null name: adminnetworkpolicies.policy.networking.k8s.io spec: diff --git a/config/crd/policy.networking.k8s.io_baselineadminnetworkpolicies.yaml b/config/crd/policy.networking.k8s.io_baselineadminnetworkpolicies.yaml index 39b04268..e0116b53 100644 --- a/config/crd/policy.networking.k8s.io_baselineadminnetworkpolicies.yaml +++ b/config/crd/policy.networking.k8s.io_baselineadminnetworkpolicies.yaml @@ -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/106 - policy.networking.k8s.io/bundle-version: v0.1.0 + api-approved.kubernetes.io: https://github.com/kubernetes-sigs/network-policy-api/pull/135 + policy.networking.k8s.io/bundle-version: v0.1.1 creationTimestamp: null name: baselineadminnetworkpolicies.policy.networking.k8s.io spec: diff --git a/pkg/generator/main.go b/pkg/generator/main.go index 47df49e4..eb55da15 100644 --- a/pkg/generator/main.go +++ b/pkg/generator/main.go @@ -29,8 +29,8 @@ const ( bundleVersionAnnotation = "policy.networking.k8s.io/bundle-version" // These values must be updated during the release process - bundleVersion = "v0.1.0" - approvalLink = "https://github.com/kubernetes-sigs/network-policy-api/pull/106" + bundleVersion = "v0.1.1" + approvalLink = "https://github.com/kubernetes-sigs/network-policy-api/pull/135" ) // This generation code is largely copied from From 711ffc2d79eb34f5209bf6f4be3dc18797302577 Mon Sep 17 00:00:00 2001 From: Andrew Stoycos Date: Wed, 16 Aug 2023 11:34:47 -0400 Subject: [PATCH 2/2] release documentation fixups Signed-off-by: Andrew Stoycos --- RELEASE.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/RELEASE.md b/RELEASE.md index 932b4e64..797e7bb9 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -52,7 +52,9 @@ For a **PATCH** release: Github's [release][release] page. - Run the `make build-install-yaml` command which will generate install files in the `release/` directory. Attach these files to the Github release. -- Update the `README.md` and `site-src/guides/index.md` files to point links and examples to the new release. +- Update the website files to point links and examples to the new release (simply `grep` for previous version). +- Write a changelog for the new release in the [changelog readme](./CHANGELOG.md). +- Make the new-release from the [releases page](https://github.com/kubernetes-sigs/network-policy-api/releases) with the new changelog and attach the `install.yaml`. For a **MAJOR** or **MINOR** release: @@ -64,7 +66,9 @@ For a **MAJOR** or **MINOR** release: Github's [release][release] page. - Run the `make build-install-yaml` command which will generate install files in the `release/` directory. Attach these files to the Github release. -- Update the `README.md` and `site-src/guides/index.md` files to point links and examples to the new release. +- Update the website files to point links and examples to the new release (simply `grep` for previous version). +- Write a changelog for the new release in the [changelog readme](./CHANGELOG.md). +- Make the new-release from the [releases page](https://github.com/kubernetes-sigs/network-policy-api/releases) with the new changelog and attach the `install.yaml`. For an **RC** release: