From accb7be7dfa78624ebc007e93e787aa35b3c0c89 Mon Sep 17 00:00:00 2001
From: Sheogorath <sheogorath@shivering-isles.com>
Date: Mon, 5 Feb 2024 22:57:33 +0100
Subject: [PATCH] fix(system-upgrade): Organise CRD permissions

---
 bootstrap/system-upgrades/clusterrole.yaml | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/bootstrap/system-upgrades/clusterrole.yaml b/bootstrap/system-upgrades/clusterrole.yaml
index c0fe59506..82f40784f 100644
--- a/bootstrap/system-upgrades/clusterrole.yaml
+++ b/bootstrap/system-upgrades/clusterrole.yaml
@@ -16,6 +16,13 @@ rules:
   resources:
   - namespaces
   - nodes
+  verbs:
+  - get
+  - list
+  - watch
+- apiGroups:
+  - "apiextensions.k8s.io"
+  resources:
   - customresourcedefinitions
   verbs:
   - get
-- 
GitLab