From 24c09b710f5585da9dd253e819ebde9e8b243229 Mon Sep 17 00:00:00 2001 From: Dimitri Saridakis Date: Fri, 22 Sep 2023 16:11:39 +0100 Subject: [PATCH] refactor: addition of rbac needed for instascale controller --- config/rbac/role.yaml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/config/rbac/role.yaml b/config/rbac/role.yaml index 1393982c4..f48a97654 100644 --- a/config/rbac/role.yaml +++ b/config/rbac/role.yaml @@ -51,6 +51,7 @@ rules: verbs: - get - list + - watch - apiGroups: - coordination.k8s.io resources: @@ -210,3 +211,29 @@ rules: - patch - update - watch +- apiGroups: + - "" + resourceNames: + - instascale-ocm-secret + resources: + - secrets + verbs: + - get +- apiGroups: + - apps + resources: + - machineset + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - apps + resources: + - machineset/status + verbs: + - get \ No newline at end of file