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

fix: return skip when celPreconditions/matchConditions aren't met (cherry-pick #9940) #10085

Merged
merged 1 commit into from
Apr 26, 2024

Conversation

gcp-cherry-pick-bot[bot]
Copy link

Cherry-picked fix: return skip when celPreconditions/matchConditions aren't met (#9940)

  • fix: return skip when cel preconditions aren't met

Signed-off-by: Mariam Fahmy mariam.fahmy@nirmata.com

  • fix test

Signed-off-by: Mariam Fahmy mariam.fahmy@nirmata.com

  • fix: return skip when matchConditions in VAPs aren't met

Signed-off-by: Mariam Fahmy mariam.fahmy@nirmata.com


Signed-off-by: Mariam Fahmy mariam.fahmy@nirmata.com

)

* fix: return skip when cel preconditions aren't met

Signed-off-by: Mariam Fahmy <mariam.fahmy@nirmata.com>

* fix test

Signed-off-by: Mariam Fahmy <mariam.fahmy@nirmata.com>

* fix: return skip when matchConditions in VAPs aren't met

Signed-off-by: Mariam Fahmy <mariam.fahmy@nirmata.com>

---------

Signed-off-by: Mariam Fahmy <mariam.fahmy@nirmata.com>
Copy link

codecov bot commented Apr 22, 2024

Codecov Report

Attention: Patch coverage is 0% with 19 lines in your changes are missing coverage. Please review.

Project coverage is 33.59%. Comparing base (111b052) to head (cf58860).

Files Patch % Lines
pkg/validatingadmissionpolicy/validate.go 0.00% 15 Missing ⚠️
pkg/engine/handlers/validation/validate_cel.go 0.00% 4 Missing ⚠️
Additional details and impacted files
@@               Coverage Diff                @@
##           release-1.12   #10085      +/-   ##
================================================
- Coverage         33.60%   33.59%   -0.01%     
================================================
  Files               347      347              
  Lines             23870    23877       +7     
================================================
  Hits               8021     8021              
- Misses            14967    14974       +7     
  Partials            882      882              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@realshuting realshuting merged commit a24380c into release-1.12 Apr 26, 2024
256 of 263 checks passed
@realshuting realshuting deleted the cherry-pick-41fe54-release-1.12 branch April 26, 2024 09:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants