From e8b624091a2d793777c9e86bcf4785c7c70e1b65 Mon Sep 17 00:00:00 2001 From: Bhargav Ravuri Date: Mon, 15 Jan 2024 15:05:51 +0530 Subject: [PATCH] feat(ClusterRole): Add RBAC rules to allow access to LimitRange Allow keda-operator to access the LimitRange resources in the cluster. The operator requires this to validate whether the default limits are available on the container in case of using CPU/memory triggers. Signed-off-by: Bhargav Ravuri --- keda/templates/manager/clusterrole.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/keda/templates/manager/clusterrole.yaml b/keda/templates/manager/clusterrole.yaml index 201465b2..673a5e63 100644 --- a/keda/templates/manager/clusterrole.yaml +++ b/keda/templates/manager/clusterrole.yaml @@ -39,6 +39,13 @@ rules: - get - list - watch +- apiGroups: + - "" + resources: + - limitranges + verbs: + - list + - watch - apiGroups: - "" resources: