From 3135cca1b3bfffa0479e55870305c9fdf23dbf6b Mon Sep 17 00:00:00 2001 From: Ivan Shvedunov Date: Wed, 17 Jul 2024 13:36:45 +0000 Subject: [PATCH] systest: fix RBAC rules for chaos-mesh (#6131) ## Motivation Systests are failing when running with RBAC enabled due to chaos-mesh object permissions --- systest/systest_rbac.yml.tmpl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/systest/systest_rbac.yml.tmpl b/systest/systest_rbac.yml.tmpl index 817bb7ec4a..6060daf979 100644 --- a/systest/systest_rbac.yml.tmpl +++ b/systest/systest_rbac.yml.tmpl @@ -18,6 +18,9 @@ rules: - apiGroups: ["apps"] resources: ["deployments"] verbs: ["get","create","patch","update","list","watch"] +- apiGroups: ["chaos-mesh.org"] + resources: ["networkchaos", "timechaos", "schedule"] + verbs: ["get","create","patch","update","list","watch","delete"] --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding