You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Specifying resource filters directly under match and exclude has been marked for deprecation and will be removed in a future release. It is highly recommended you specify them under any or all blocks.
However the psp-migration tool returns filters like this:
match:
resources:
kinds:
- Pod
should be
match:
any:
- resources:
kinds:
- Pod
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
What is the idea?
According to https://kyverno.io/docs/writing-policies/match-exclude/#resource-filters :
However the psp-migration tool returns filters like this:
should be
The text was updated successfully, but these errors were encountered: