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: handle enable monitoring boolean flag #676

Closed flavio closed 3 months ago

flavio commented 3 months ago

A change has been done to policy-server. Starting from the v1.11 release, the boolean flags must take either true or false as values when they are toggled via environment variables. Prior to that, any kind of value was fine.

codecov[bot] commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 69.45%. Comparing base (e7db4cf) to head (251ad8a).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #676 +/- ## =========================================== + Coverage 42.17% 69.45% +27.28% =========================================== Files 23 5 -18 Lines 2006 478 -1528 =========================================== - Hits 846 332 -514 + Misses 1085 100 -985 + Partials 75 46 -29 ``` | [Flag](https://app.codecov.io/gh/kubewarden/kubewarden-controller/pull/676/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kubewarden) | Coverage Δ | | |---|---|---| | [integration-tests](https://app.codecov.io/gh/kubewarden/kubewarden-controller/pull/676/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kubewarden) | `69.45% <ø> (+0.41%)` | :arrow_up: | | [unit-tests](https://app.codecov.io/gh/kubewarden/kubewarden-controller/pull/676/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kubewarden) | `?` | | 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.