Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Admin Network Policy: eval command support #423

Merged
merged 130 commits into from
Dec 1, 2024
Merged

Conversation

shireenf-ibm
Copy link
Contributor

@shireenf-ibm shireenf-ibm commented Oct 20, 2024

#380 adding support to eval command
issue #443

  1. updated funcs related to eval command under eval pkg (for my convenience, i have separated the funcs of check.go file into 2 files, the new file is check_eval.go; all the related funcs to eval command (checking if specific conn is allowed) are there
  2. successfully running unit-tests from parsed resources in eval_test.go
  1. added new command-line tests :eval command with tests with ANPs (added relevant support for new policies (anps+banp) + for pods that are actually replica of a workload object that is not defined as Pod in the yamls (e.g. StatefulSet))

…ll but: udp 5353 instead of SCTP 1-65535,TCP 1-65535,UDP 1-5352,5354-65535)
@shireenf-ibm shireenf-ibm linked an issue Nov 12, 2024 that may be closed by this pull request
@shireenf-ibm shireenf-ibm requested a review from adisos November 13, 2024 14:13
Base automatically changed from support_admin_netpolicy to main November 28, 2024 11:42
@shireenf-ibm shireenf-ibm changed the title eval command support Admin Network Policy: eval command support Nov 28, 2024
@shireenf-ibm shireenf-ibm marked this pull request as ready for review November 28, 2024 13:32
Copy link
Collaborator

@adisos adisos left a comment

Choose a reason for hiding this comment

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

fix a conflict in go.mod

@shireenf-ibm shireenf-ibm requested a review from adisos December 1, 2024 07:54
@shireenf-ibm shireenf-ibm merged commit 16eb79f into main Dec 1, 2024
4 checks passed
@shireenf-ibm shireenf-ibm deleted the support_anp_for_eval_cmd branch December 1, 2024 08:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

eval command : support (Baseline)AdminNetworkPolicy
3 participants