From 55e2919db176a8a74f881f9b80e7654701dea40f Mon Sep 17 00:00:00 2001 From: Mikhail Zholobov Date: Tue, 3 Sep 2024 20:31:46 +0200 Subject: [PATCH] Update RBAC Remove unnecessary "create" and "delete" verbs for CRs which are supposed to be created and deleted only by a user, and not by an operator. Signed-off-by: Mikhail Zholobov --- keda/templates/manager/clusterrole.yaml | 4 ---- keda/templates/manager/minimal-rbac.yaml | 2 -- 2 files changed, 6 deletions(-) diff --git a/keda/templates/manager/clusterrole.yaml b/keda/templates/manager/clusterrole.yaml index 0a1c7f8e..990423b9 100644 --- a/keda/templates/manager/clusterrole.yaml +++ b/keda/templates/manager/clusterrole.yaml @@ -121,8 +121,6 @@ rules: - clustercloudeventsources - clustercloudeventsources/status verbs: - - create - - delete - get - list - patch @@ -140,8 +138,6 @@ rules: - triggerauthentications - triggerauthentications/status verbs: - - create - - delete - get - list - patch diff --git a/keda/templates/manager/minimal-rbac.yaml b/keda/templates/manager/minimal-rbac.yaml index 15a6dd23..7168a6ef 100644 --- a/keda/templates/manager/minimal-rbac.yaml +++ b/keda/templates/manager/minimal-rbac.yaml @@ -85,8 +85,6 @@ rules: - clustertriggerauthentications - clustertriggerauthentications/status verbs: - - create - - delete - get - list - patch