From 7bf82e4a9d96e7db935f04cb476cfb4897089ad8 Mon Sep 17 00:00:00 2001 From: Matous Jobanek Date: Wed, 3 Jul 2024 08:19:29 +0200 Subject: [PATCH] add enable-feature Role (#46) --- resources/roles/host.yaml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/resources/roles/host.yaml b/resources/roles/host.yaml index 50c990c..67ccb0e 100644 --- a/resources/roles/host.yaml +++ b/resources/roles/host.yaml @@ -313,3 +313,27 @@ objects: - "get" - "list" - "delete" + +- kind: Role + apiVersion: rbac.authorization.k8s.io/v1 + metadata: + name: enable-feature + labels: + provider: sandbox-sre + rules: + - apiGroups: + - toolchain.dev.openshift.com + resources: + - "toolchainconfigs" + verbs: + - "get" + - "list" + - apiGroups: + - toolchain.dev.openshift.com + resources: + - "spaces" + verbs: + - "get" + - "list" + - "patch" + - "update"