feat: block-kubectl-cp policy
Related Issue(s)
https://github.com/kyverno/policies/issues/1169
Description
Created a policy for the mentioned issue i.e. a policy that can block kubectl cp for pods with a given label
Checklist
-
I have read the policy contribution guidelines. -
I have added test manifests and resources covering both positive and negative tests that prove this policy works as intended. -
I have added the artifacthub-pkg.yml file and have verified it is complete and correct.