From 775049977389a7b70e9fb83b8e60cb47d0c94f1b Mon Sep 17 00:00:00 2001 From: Aslak Knutsen Date: Wed, 11 Oct 2023 14:07:47 +0200 Subject: [PATCH] feat: Project Controller needs read access to ingress config Poject Controller rely on reading the openshift.config ingresses to find the domain or appDomain configured for this cluster to generated the current auth URLs used in the AuthConfig. releated-to: maistra/odh-project-controller#58 --- odh-project-controller/rbac/role.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/odh-project-controller/rbac/role.yaml b/odh-project-controller/rbac/role.yaml index 98c037ef5..bbbe26178 100644 --- a/odh-project-controller/rbac/role.yaml +++ b/odh-project-controller/rbac/role.yaml @@ -73,3 +73,11 @@ rules: - patch - update - watch +- apiGroups: + - config.openshift.io + resources: + - ingresses + verbs: + - get + - list + - watch