From b1dbd228758f7bc9717cf932ecc4150416417ba3 Mon Sep 17 00:00:00 2001 From: Ondrej Pokorny Date: Mon, 1 Sep 2025 15:32:13 +0200 Subject: [PATCH] fix: add missing permissions for replicasets and events Add permissions to insights-operator role to read replicasets and create events in openshift-insights namespace to resolve permission errors during operator execution. Signed-off-by: Ondrej Pokorny --- manifests/03-clusterrole.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/manifests/03-clusterrole.yaml b/manifests/03-clusterrole.yaml index 4d922900b..2a2b50254 100644 --- a/manifests/03-clusterrole.yaml +++ b/manifests/03-clusterrole.yaml @@ -480,9 +480,15 @@ rules: - apps resources: - deployments + - replicasets verbs: - get - + - apiGroups: + - "" + resources: + - events + verbs: + - create --- apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding