Skip to content

Add conformance tests for PortRange and NamespaceSelector omission#384

Open
TheBeeZee wants to merge 1 commit into
kubernetes-sigs:mainfrom
TheBeeZee:conformance-port-ranges
Open

Add conformance tests for PortRange and NamespaceSelector omission#384
TheBeeZee wants to merge 1 commit into
kubernetes-sigs:mainfrom
TheBeeZee:conformance-port-ranges

Conversation

@TheBeeZee

@TheBeeZee TheBeeZee commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

Implements new conformance tests to cover previously untested features in the ClusterNetworkPolicy Admin tier:

  • PortRange: Added TCP, UDP, and SCTP (Ingress/Egress) port-range tests.
  • NamespaceSelector Omission: Added a test case verifying that omitting namespaceSelector in NamespacedPod peer matches pods in all namespaces.

Implementation adds a new namespace durmstrang (pods viktor-krum) to avoid modifying existing test data.

Fixes: #104

@netlify

netlify Bot commented Jun 17, 2026

Copy link
Copy Markdown

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

Name Link
🔨 Latest commit f2d6941
🔍 Latest deploy log https://app.netlify.com/projects/kubernetes-sigs-network-policy-api/deploys/6a331817eec1ba0009a5b177
😎 Deploy Preview https://deploy-preview-384--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.

@k8s-ci-robot k8s-ci-robot requested review from aojea and npinaeva June 17, 2026 21:56
@k8s-ci-robot

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

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

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

Details 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 needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Jun 17, 2026
@k8s-ci-robot

Copy link
Copy Markdown
Contributor

Hi @TheBeeZee. Thanks for your PR.

I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work.

Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@k8s-ci-robot k8s-ci-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Jun 17, 2026
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. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add pod selector matches to conformance test suite

2 participants