From 8a721b347525fc8621f5b56a81227a8aa7490a9f Mon Sep 17 00:00:00 2001 From: Fiona Waters Date: Mon, 19 Jun 2023 15:41:13 +0100 Subject: [PATCH] adding clusterversions --- config/internal/instascale/clusterrole.yaml.tmpl | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/config/internal/instascale/clusterrole.yaml.tmpl b/config/internal/instascale/clusterrole.yaml.tmpl index 333fbf24a..8f27f57f0 100644 --- a/config/internal/instascale/clusterrole.yaml.tmpl +++ b/config/internal/instascale/clusterrole.yaml.tmpl @@ -24,11 +24,19 @@ rules: - apiGroups: - "" resourceNames: - - instascale-ocm-secret + - instascale-ocm-secret resources: - - secrets + - secrets verbs: - - get + - get + +- apiGroups: + - config.openshift.io + resources: + - clusterversions + verbs: + - get + - list - apiGroups: - apps