diff --git a/test/conformance/kuttl/generate/clusterpolicy/cornercases/generate-event-upon-edit/08-reset-clusterrole.yaml b/test/conformance/kuttl/generate/clusterpolicy/cornercases/generate-event-upon-edit/08-reset-clusterrole.yaml deleted file mode 100644 index 379b55efeb..0000000000 --- a/test/conformance/kuttl/generate/clusterpolicy/cornercases/generate-event-upon-edit/08-reset-clusterrole.yaml +++ /dev/null @@ -1,27 +0,0 @@ -## reset changed clusterrole for the rest of the tests -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRole -metadata: - name: kyverno:background-controller:additional -rules: -- apiGroups: - - '*' - resources: - - configmaps - - networkpolicies - - resourcequotas - - secrets - - roles - - rolebindings - - limitranges - - namespaces - - nodes - - nodes/status - - pods - verbs: - - create - - update - - patch - - delete - - get - - list \ No newline at end of file diff --git a/test/conformance/kuttl/generate/clusterpolicy/cornercases/pod-restart-on-cm-update/cluster-role.yaml b/test/conformance/kuttl/generate/clusterpolicy/cornercases/pod-restart-on-cm-update/cluster-role.yaml index 6b093b6d7c..f8a1c99522 100644 --- a/test/conformance/kuttl/generate/clusterpolicy/cornercases/pod-restart-on-cm-update/cluster-role.yaml +++ b/test/conformance/kuttl/generate/clusterpolicy/cornercases/pod-restart-on-cm-update/cluster-role.yaml @@ -1,7 +1,7 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: - name: kyverno:background-controller:additional + name: kyverno:background-controller:temp labels: app.kubernetes.io/component: background-controller app.kubernetes.io/instance: kyverno