From ac5145be87ec6ae75d263301c8dd229d6a7b6cc1 Mon Sep 17 00:00:00 2001 From: Andrei Kvapil Date: Fri, 6 Jun 2025 13:15:16 +0200 Subject: [PATCH] [cozystack-controller] Fix RBAC for annotating namespaces Signed-off-by: Andrei Kvapil --- packages/system/cozystack-controller/templates/rbac.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/system/cozystack-controller/templates/rbac.yaml b/packages/system/cozystack-controller/templates/rbac.yaml index 64f1eaa1..eb680f70 100644 --- a/packages/system/cozystack-controller/templates/rbac.yaml +++ b/packages/system/cozystack-controller/templates/rbac.yaml @@ -12,3 +12,6 @@ rules: - apiGroups: ["helm.toolkit.fluxcd.io"] resources: ["helmreleases"] verbs: ["get", "list", "watch", "patch", "update"] +- apiGroups: [""] + resources: ["namespaces"] + verbs: ["get", "list", "watch", "patch", "update"]