From 69dce73e511a476e48e1b8bd7b5d43c267381ec5 Mon Sep 17 00:00:00 2001
From: Aurel Canciu <aurelcanciu@gmail.com>
Date: Wed, 13 Oct 2021 19:35:31 +0200
Subject: [PATCH] Allow namespaces readonly crd-controller rbac

Readonly access to namespaces is needed by the
image-reflector-controller to support the cross-namespace accessFrom
functionality introduced in image-reflector-controller#162.

Signed-off-by: Aurel Canciu <aurelcanciu@gmail.com>
---
 manifests/rbac/controller.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/manifests/rbac/controller.yaml b/manifests/rbac/controller.yaml
index 97811601..7fb181c5 100644
--- a/manifests/rbac/controller.yaml
+++ b/manifests/rbac/controller.yaml
@@ -21,6 +21,7 @@ rules:
 - apiGroups:
   - ""
   resources:
+  - namespaces
   - secrets
   verbs:
   - get
-- 
GitLab