Skip to content

Commit 7321d85

Browse files
authored
Merge pull request #106 from astoycos/release-0.1.0
Release 0.1.0
2 parents b8440dd + 04ee5b3 commit 7321d85

5 files changed

+23
-21
lines changed

CHANGELOG.md

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Changelog
2+
3+
## Table of Contents
4+
5+
- [v0.1.0](#v010)
6+
7+
# v0.1.0
8+
9+
API Version: v1alpha1
10+
11+
This is the initial release of the network-policy-api. It includes two
12+
main resources geared towards cluster admins:
13+
14+
- AdminNetworkPolicy
15+
- BaselineAdminNetworkPolicy
16+
17+
Please check out the [network-policy-api website](https://network-policy-api.sigs.k8s.io/) for more information.

RELEASE.md

-15
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,6 @@ For a **PATCH** release:
4444
in the upcoming steps.
4545
- Use `git` to cherry-pick all relevant PRs into your branch.
4646
- Update `pkg/generator/main.go` with the new semver tag and any updates to the API review URL.
47-
- Run the following command `BASE_REF=vmajor.minor.patch make generate` which
48-
will update generated docs and webhook with the correct version info. (Note
49-
that you can't test with these YAMLs yet as they contain references to
50-
elements which wont exist until the tag is cut and image is promoted to
51-
production registry.)
5247
- Create a pull request of the `<githubuser>/release-x.x.x` branch into the `release-x.x` branch upstream
5348
(which should already exist since this is a patch release). Add a hold on this PR waiting for at least
5449
one maintainer/codeowner to provide a `lgtm`.
@@ -64,11 +59,6 @@ For a **MAJOR** or **MINOR** release:
6459
- Cut a `release-major.minor` branch that we can tag things in as needed.
6560
- Check out the `release-major.minor` release branch locally.
6661
- Update `pkg/generator/main.go` with the new semver tag and any updates to the API review URL.
67-
- Run the following command `BASE_REF=vmajor.minor.patch make generate` which
68-
will update generated docs and webhook with the correct version info. (Note
69-
that you can't test with these YAMLs yet as they contain references to
70-
elements which wont exist until the tag is cut and image is promoted to
71-
production registry.)
7262
- Verify the CI tests pass before continuing.
7363
- Create a tag using the `HEAD` of the `release-x.x` branch. This can be done using the `git` CLI or
7464
Github's [release][release] page.
@@ -79,11 +69,6 @@ For a **MAJOR** or **MINOR** release:
7969
For an **RC** release:
8070

8171
- Update `pkg/generator/main.go` with the new semver tag and any updates to the API review URL.
82-
- Run the following command `BASE_REF=vmajor.minor.patch make generate` which
83-
will update generated docs and webhook with the correct version info. (Note
84-
that you can't test with these YAMLs yet as they contain references to
85-
elements which wont exist until the tag is cut and image is promoted to
86-
production registry.)
8772
- Include the changelog update in this PR.
8873
- Merge the update PR.
8974
- Tag the release using the commit on `main` where the changelog update merged.

config/crd/policy.networking.k8s.io_adminnetworkpolicies.yaml

+2-2
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/issues/90
6-
policy.networking.k8s.io/bundle-version: ""
5+
api-approved.kubernetes.io: https://github.com/kubernetes-sigs/network-policy-api/pull/106
6+
policy.networking.k8s.io/bundle-version: v0.1.0
77
creationTimestamp: null
88
name: adminnetworkpolicies.policy.networking.k8s.io
99
spec:

config/crd/policy.networking.k8s.io_baselineadminnetworkpolicies.yaml

+2-2
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/issues/90
6-
policy.networking.k8s.io/bundle-version: ""
5+
api-approved.kubernetes.io: https://github.com/kubernetes-sigs/network-policy-api/pull/106
6+
policy.networking.k8s.io/bundle-version: v0.1.0
77
creationTimestamp: null
88
name: baselineadminnetworkpolicies.policy.networking.k8s.io
99
spec:

pkg/generator/main.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ const (
2929
bundleVersionAnnotation = "policy.networking.k8s.io/bundle-version"
3030

3131
// These values must be updated during the release process
32-
bundleVersion = ""
33-
approvalLink = "https://github.com/kubernetes-sigs/network-policy-api/issues/90"
32+
bundleVersion = "v0.1.0"
33+
approvalLink = "https://github.com/kubernetes-sigs/network-policy-api/pull/106"
3434
)
3535

3636
// This generation code is largely copied from

0 commit comments

Comments
 (0)