Skip to content

Conversation

sebrandon1
Copy link
Collaborator

Adds integration tests for k8s network policies.

Added Integration Tests for NetworkPolicies:

  • TestNetworkPolicyCreate: Introduced a test to verify the creation of a NetworkPolicy. It includes steps to create a namespace, define a NetworkPolicy with a pod selector, and validate its existence in the cluster.
  • TestNetworkPolicyDelete: Added a test to confirm the deletion of a NetworkPolicy. It includes creating a NetworkPolicy, validating its presence, deleting it, and ensuring it no longer exists.

Copy link
Collaborator

@klaskosk klaskosk left a comment

Choose a reason for hiding this comment

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

/lgtm

@sebrandon1 sebrandon1 force-pushed the networkpolicy_integration_test branch 2 times, most recently from a1b60f2 to 5d7d701 Compare April 24, 2025 16:49
@sebrandon1 sebrandon1 force-pushed the networkpolicy_integration_test branch from 5d7d701 to e77032c Compare April 28, 2025 15:05
@klaskosk klaskosk merged commit 655b6b3 into rh-ecosystem-edge:main Apr 28, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants