From 3ebfce54fa53310a27a8b535d43b7146ef233a01 Mon Sep 17 00:00:00 2001 From: Bobbins228 Date: Thu, 19 Oct 2023 16:19:56 +0100 Subject: [PATCH 1/2] Updated MCAD controller cluster role for ingresses --- config/rbac/mcad-controller-ray-clusterrole.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/rbac/mcad-controller-ray-clusterrole.yaml b/config/rbac/mcad-controller-ray-clusterrole.yaml index f95624208..39ae487d4 100644 --- a/config/rbac/mcad-controller-ray-clusterrole.yaml +++ b/config/rbac/mcad-controller-ray-clusterrole.yaml @@ -18,9 +18,9 @@ rules: - patch - delete - apiGroups: - - route.openshift.io + - networking.k8s.io resources: - - routes + - ingresses verbs: - create - delete From 35d17774c8c650e5e98873b121638e7a2998aab7 Mon Sep 17 00:00:00 2001 From: Bobbins228 Date: Thu, 19 Oct 2023 17:00:17 +0100 Subject: [PATCH 2/2] Re added routes to cluster role --- config/rbac/mcad-controller-ray-clusterrole.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/config/rbac/mcad-controller-ray-clusterrole.yaml b/config/rbac/mcad-controller-ray-clusterrole.yaml index 39ae487d4..18e3d98f3 100644 --- a/config/rbac/mcad-controller-ray-clusterrole.yaml +++ b/config/rbac/mcad-controller-ray-clusterrole.yaml @@ -29,3 +29,15 @@ rules: - patch - update - watch +- apiGroups: + - route.openshift.io + resources: + - routes + verbs: + - create + - delete + - get + - list + - patch + - update + - watch