Closed jvanz closed 2 months ago
Attention: Patch coverage is 66.66667%
with 17 lines
in your changes are missing coverage. Please review.
Project coverage is 50.56%. Comparing base (
3fa9744
) to head (91159f2
).
Files | Patch % | Lines |
---|---|---|
internal/pkg/admission/reconciler.go | 0.00% | 11 Missing :warning: |
...g/admission/policy-server-pod-disruption-budget.go | 84.21% | 3 Missing and 3 partials :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Description
Adds two new fields in the PolicyServerSpec: minAvailable and maxUnavailable. These fields are used to create a PodDisruptionBudget for the policy server pods. Both fields cannot be set together because Kubernetes does not allow setting both together in the PDB spec.
Fix https://github.com/kubewarden/kubewarden-controller/issues/692
Test
NOTE: this is a draft PR because I would like to make it "ready for review" together with the Helm chart changes. However, you can review it already.