From 654e71812e3e07f7a72f174aa51a1e4d55c476c3 Mon Sep 17 00:00:00 2001 From: tomasspi Date: Fri, 17 Dec 2021 10:13:39 -0300 Subject: [PATCH] fix: add list and watch access for service accounts to cluster role Signed-off-by: tomasspi --- CHANGELOG.md | 1 + config/rbac/role.yaml | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 072f1d7b55d..921b8a78fef 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -29,6 +29,7 @@ - Graphite Scaler: use the latest datapoint returned, not the earliest ([#2365](https://github.com/kedacore/keda/pull/2365)) - Kubernetes Workload Scaler: ignore terminated pods ([#2384](https://github.com/kedacore/keda/pull/2384)) +- `keda-operator` Cluster Role: add `list` and `watch` access to service accounts ([#2383](https://github.com/kedacore/keda/issues/2383)) - TODO ([#XXX](https://github.com/kedacore/keda/pull/XXX)) diff --git a/config/rbac/role.yaml b/config/rbac/role.yaml index 259a76019e2..cc67337efde 100644 --- a/config/rbac/role.yaml +++ b/config/rbac/role.yaml @@ -25,6 +25,13 @@ rules: - get - list - watch +- apiGroups: + - "" + resources: + - serviceaccounts + verbs: + - list + - watch - apiGroups: - '*' resources: