From 1638d867d60b33df5773fd92a7dc193fbeac3858 Mon Sep 17 00:00:00 2001 From: Nadia Pinaeva Date: Fri, 10 Apr 2026 17:07:28 +0200 Subject: [PATCH 1/2] docs: Add v1alpha1 promise to maintain release-0.1 branch Until further notice. Signed-off-by: Nadia Pinaeva --- site-src/getting-started.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/site-src/getting-started.md b/site-src/getting-started.md index fa5fedeb..556555b3 100644 --- a/site-src/getting-started.md +++ b/site-src/getting-started.md @@ -23,6 +23,9 @@ kubectl apply -f https://raw.githubusercontent.com/kubernetes-sigs/network-polic -f https://raw.githubusercontent.com/kubernetes-sigs/network-policy-api/refs/tags/v0.1.7/config/crd/standard/policy.networking.k8s.io_baselineadminnetworkpolicies.yaml ``` +We are also going to preserve and maintain the [release-0.1](https://github.com/kubernetes-sigs/network-policy-api/tree/release-0.1) +branch for the `v1alpha1` APIs, including potential updates and bug fixes until further notice. + **3. Try out one of the sample yamls for specific user stories** - [Deny traffic at a cluster level](reference/examples.md#sample-spec-for-story-1-deny-traffic-at-a-cluster-level) From 0c93416e65e1a09853deb977a41f38081224d83d Mon Sep 17 00:00:00 2001 From: Nadia Pinaeva Date: Wed, 6 May 2026 14:05:52 +0200 Subject: [PATCH 2/2] Add install instructions for released CNP version Signed-off-by: Nadia Pinaeva --- site-src/getting-started.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/site-src/getting-started.md b/site-src/getting-started.md index 556555b3..ec7065b0 100644 --- a/site-src/getting-started.md +++ b/site-src/getting-started.md @@ -8,11 +8,10 @@ doc for details on the supportability matrix. **2. Install the Network Policy API CRDs** -We don't have a released version of the `ClusterNetworkPolicy` API yet, but you can try out -the latest version from the `main` branch by applying the following manifest: +To install the latest released version of the `ClusterNetworkPolicy` API, which is `v0.2.0`, use the following command: ```bash -kubectl apply -f https://raw.githubusercontent.com/kubernetes-sigs/network-policy-api/refs/heads/main/config/crd/standard/policy.networking.k8s.io_clusternetworkpolicies.yaml +kubectl apply -f https://raw.githubusercontent.com/kubernetes-sigs/network-policy-api/refs/tags/v0.2.0/config/crd/standard/policy.networking.k8s.io_clusternetworkpolicies.yaml ``` The latest released version of the `AdminNetworkPolicy` and `BaselineAdminNetworkPolicy` is `v0.1.7`.