mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-31 08:28:34 +00:00
genpolicy: ignore Role resource
Ignore Role resources because they don't need a Policy. Signed-off-by: Saul Paredes <saulparedes@microsoft.com>
This commit is contained in:
@@ -220,6 +220,7 @@ pub fn new_k8s_resource(
|
||||
| "PersistentVolumeClaim"
|
||||
| "PriorityClass"
|
||||
| "ResourceQuota"
|
||||
| "Role"
|
||||
| "RoleBinding"
|
||||
| "Service"
|
||||
| "ServiceAccount" => {
|
||||
|
Reference in New Issue
Block a user