Closed anusha94 closed 1 year ago
Sample policy compatible with 1.10 - https://kyverno.io/policies/other/audit-event-on-delete/audit-event-on-delete/
In Kyverno 1.10, matching on operations is preferred over preconditions specifying inclusion or exclusion of operations. E.g., DELETE in deny and foreach blocks. This PR updates all such policies to be compatible with 1.10.
DELETE
Note: This is not backwards compatible.
Sample policy compatible with 1.10 - https://kyverno.io/policies/other/audit-event-on-delete/audit-event-on-delete/
In Kyverno 1.10, matching on operations is preferred over preconditions specifying inclusion or exclusion of operations. E.g.,
DELETE
in deny and foreach blocks. This PR updates all such policies to be compatible with 1.10.Note: This is not backwards compatible.