Flavio Castelli
Flavio Castelli
@viccuad we have to use [this code](https://github.com/kubernetes/kubernetes/blob/7693a7e71a852009cc114b31c6c37e7a6eb74cb6/pkg/apis/admissionregistration/validation/validation.go#L924), which is the same code used to validate the `matchConditions` of a `(Mutating|Validating)WebhookConfiguration`
Update: we could import and use [this function](https://github.com/kubernetes/kubernetes/blob/7693a7e71a852009cc114b31c6c37e7a6eb74cb6/pkg/apis/admissionregistration/validation/validation.go#L218). There's the equivalent for mutating configurations too
I would tackle this change together with the bumps of the otel crates
assigned to 1.18, see the explanation of the only action to implement
This is a transitive dependency of `oci-spec`. I've opened an issue upstream
https://github.com/kubewarden/policy-server/pull/1320
Keep in mind there's currently a serde bug that prevents that from being done. See https://github.com/kubewarden/policy-server/pull/827/commits/7316fc93bc5d53dc0a3277b63f937bfe2973dc6a
I think the fix should be done inside of serde, see [this issue](https://github.com/serde-rs/serde/issues/1600). I would wait for upstream to address that, or help them with it. Given the configuration of...
@Xynnn007 can you please give me an approval? I had to fix the conflicts with the `main` branch, but I didn't do any change to the original code submitted by...
@Xynnn007 thanks! @dave-tucker sorry about the delay!