This is an automated email from the ASF dual-hosted git repository. pcongiusti pushed a commit to branch release-2.9.x in repository https://gitbox.apache.org/repos/asf/camel-k.git
commit 757479bc7520182ea8a32fe4303b6f48f7aa057e Author: Pasquale Congiusti <[email protected]> AuthorDate: Thu Jan 22 08:44:35 2026 +0100 fix(install): revert watch rbac --- .../config/rbac/descoped/operator-cluster-role.yaml | 2 ++ pkg/resources/config/rbac/namespaced/operator-role.yaml | 12 ++++++++++++ 2 files changed, 14 insertions(+) diff --git a/pkg/resources/config/rbac/descoped/operator-cluster-role.yaml b/pkg/resources/config/rbac/descoped/operator-cluster-role.yaml index b41edc07b..54147b9f9 100644 --- a/pkg/resources/config/rbac/descoped/operator-cluster-role.yaml +++ b/pkg/resources/config/rbac/descoped/operator-cluster-role.yaml @@ -193,6 +193,7 @@ rules: - get - list - patch + - watch # Service Accounts (dynamic SA creation) - apiGroups: - "" @@ -203,6 +204,7 @@ rules: - delete - get - list + - watch # Required to check if a ServiceAccount can access other namespaces resources - apiGroups: - authorization.k8s.io diff --git a/pkg/resources/config/rbac/namespaced/operator-role.yaml b/pkg/resources/config/rbac/namespaced/operator-role.yaml index fbc0b2026..27a264bee 100644 --- a/pkg/resources/config/rbac/namespaced/operator-role.yaml +++ b/pkg/resources/config/rbac/namespaced/operator-role.yaml @@ -180,6 +180,17 @@ rules: verbs: - get - list +# Service Accounts (dynamic SA creation) +- apiGroups: + - "" + resources: + - serviceaccounts + verbs: + - create + - delete + - get + - list + - watch # Roles and RoleBindings - apiGroups: - rbac.authorization.k8s.io @@ -192,3 +203,4 @@ rules: - get - list - patch + - watch
