Skip to content

Conversation

@Prateeknandle
Copy link
Contributor

@Prateeknandle Prateeknandle commented Mar 11, 2025

Purpose of PR?:
Support for adding condition for selecting workloads in the policies (ksp & csp) under matchExpressions.

Fixes #

Does this PR introduce a breaking change?

If the changes in this PR are manually verified, list down the scenarios covered::

Additional information for reviewer? :
Mention if this PR is part of any design or a continuation of previous PRs

Checklist:

  • Bug fix. Fixes #
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update
  • PR Title follows the convention of <type>(<scope>): <subject>
  • Commit has unit tests
  • Commit has integration tests

Copy link
Member

@daemon1024 daemon1024 left a comment

Choose a reason for hiding this comment

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

New set of tests for KSP

matchExpressions

  • label In,NotIn

One more test case
where both of them exist? (Need an answer to this)

@daemon1024 daemon1024 moved this to In Progress in Release v1.6 Mar 17, 2025
@Prateeknandle Prateeknandle force-pushed the excluding-labels branch 6 times, most recently from 04972c8 to b8487d3 Compare March 20, 2025 06:01
@Prateeknandle Prateeknandle moved this from In Progress to P0 - PR Ready for review in Release v1.6 Mar 20, 2025
@Prateeknandle Prateeknandle force-pushed the excluding-labels branch 4 times, most recently from c655a86 to 987970b Compare March 20, 2025 18:53
Copy link
Collaborator

@rksharma95 rksharma95 left a comment

Choose a reason for hiding this comment

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

LGTM 👍
waiting for CI to pass.
@Prateeknandle please update the branch.

@soorya-knox soorya-knox requested review from kranurag7 and removed request for kranurag7 April 3, 2025 06:26
@Aryan-sharma11 Aryan-sharma11 dismissed daemon1024’s stale review May 26, 2025 05:32

reviews addressed

@Aryan-sharma11 Aryan-sharma11 merged commit bac6dea into kubearmor:main May 26, 2025
25 of 30 checks passed
@Aryan-sharma11 Aryan-sharma11 moved this from P0 - PR Ready for review to Done in Release v1.6 May 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

5 participants