kubewarden / kubewarden-controller

Manage admission policies in your Kubernetes cluster with ease
https://kubewarden.io
Apache License 2.0
182 stars 30 forks source link

fix: PolicyServer field.ErrorList validation #715

Closed fabriziosestito closed 2 months ago

fabriziosestito commented 2 months ago

Description

Fixes: #712

codecov[bot] commented 2 months ago

Codecov Report

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

Project coverage is 46.11%. Comparing base (35171d0) to head (5262b02).

Files Patch % Lines
pkg/apis/policies/v1/policyserver_webhook.go 94.44% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #715 +/- ## ========================================== + Coverage 45.84% 46.11% +0.26% ========================================== Files 22 22 Lines 1566 1570 +4 ========================================== + Hits 718 724 +6 + Misses 785 784 -1 + Partials 63 62 -1 ``` | [Flag](https://app.codecov.io/gh/kubewarden/kubewarden-controller/pull/715/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kubewarden) | Coverage Δ | | |---|---|---| | [unit-tests](https://app.codecov.io/gh/kubewarden/kubewarden-controller/pull/715/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kubewarden) | `46.11% <94.44%> (+0.26%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kubewarden#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.