Skip to content

Conversation

npinaeva
Copy link
Member

@npinaeva npinaeva commented Aug 13, 2025

After merging a new v1alpha2 API version, our conformance tests should be updated.
This PR removed ANP+BANP conformance tests, but they can still be used by specifying the previous repo version.
It is not possible anymore to support ANP or BANP only, there is only
one conformance profile now - CNP.
Remove ANP and BANP from the standard and experimental channels.
It also uses the latest kube-network-policy implementation of CNP for our conformance testing.

tracking issue #285
follow up for #306

@k8s-ci-robot
Copy link
Contributor

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@k8s-ci-robot k8s-ci-robot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Aug 13, 2025
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: npinaeva
Once this PR has been reviewed and has the lgtm label, please assign astoycos for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Aug 13, 2025
Copy link

netlify bot commented Aug 13, 2025

Deploy Preview for kubernetes-sigs-network-policy-api ready!

Name Link
🔨 Latest commit 0718558
🔍 Latest deploy log https://app.netlify.com/projects/kubernetes-sigs-network-policy-api/deploys/68b1b41750ac6300081c6135
😎 Deploy Preview https://deploy-preview-307--kubernetes-sigs-network-policy-api.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@npinaeva
Copy link
Member Author

/test all

@k8s-ci-robot k8s-ci-robot added the size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. label Aug 13, 2025
# install kube-network-policies
/usr/local/bin/kubectl apply -f https://raw.githubusercontent.com/kubernetes-sigs/kube-network-policies/v0.6.1/install-anp.yaml
/usr/local/bin/kubectl apply -f https://raw.githubusercontent.com/kubernetes-sigs/kube-network-policies/c87e5ec2f503aabe76fc2a53e117d651cf591733/install-cnp.yaml
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you need to replace the image in that manifest by aojea/kube-network-policies:cnp, download the manifest

wget https://raw.githubusercontent.com/kubernetes-sigs/kube-network-policies/c87e5ec2f503aabe76fc2a53e117d651cf591733/install-cnp.yaml -O install-cnp.yaml
and change the image sed -i s#registry.k8s.io/networking/kube-network-policies.*#aojea/kube-network-policies:cnp# install-cnp.yaml

@k8s-ci-robot k8s-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Aug 26, 2025
It is not possible anymore to support ANP or BANP only, there is only
one conformance profile now - CNP

Signed-off-by: Nadia Pinaeva <[email protected]>
I have to use a commit hash because the actually tagged release had
wrong image references.

Signed-off-by: Nadia Pinaeva <[email protected]>
@k8s-ci-robot k8s-ci-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Aug 29, 2025
@npinaeva
Copy link
Member Author

/test all

@npinaeva npinaeva changed the title [WIP] CNP update tests CNP update tests Aug 29, 2025
@npinaeva npinaeva marked this pull request as ready for review August 29, 2025 15:35
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Aug 29, 2025
@k8s-ci-robot k8s-ci-robot requested a review from Dyanngg August 29, 2025 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants