From 70b892e1a471cf08454fbda701811b1a91a5aa9a Mon Sep 17 00:00:00 2001 From: Dustin Black Date: Sat, 9 Sep 2023 12:07:38 +0200 Subject: [PATCH] remove namespace from clusterrole --- controllers/app.go | 1 - 1 file changed, 1 deletion(-) diff --git a/controllers/app.go b/controllers/app.go index 2ed212b..5538e63 100644 --- a/controllers/app.go +++ b/controllers/app.go @@ -270,7 +270,6 @@ func appClusterRole(cr *hyperfoilv1alpha1.Horreum) *rbacv1.ClusterRole { return &rbacv1.ClusterRole{ ObjectMeta: metav1.ObjectMeta{ Name: "horreum-init-cluster-role", - Namespace: cr.Namespace, }, Rules: []rbacv1.PolicyRule{ {