From f0cb1269a1eae0945b64b37f5a694574d8a5e898 Mon Sep 17 00:00:00 2001 From: Avi Weit Date: Tue, 25 Jun 2024 16:02:47 +0300 Subject: [PATCH] Add configmaps to role at bootstrap/platform/k8s.go. Signed-off-by: Avi Weit --- pkg/bootstrap/platform/k8s.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/bootstrap/platform/k8s.go b/pkg/bootstrap/platform/k8s.go index efc84ec0..86cc8c8d 100644 --- a/pkg/bootstrap/platform/k8s.go +++ b/pkg/bootstrap/platform/k8s.go @@ -198,6 +198,9 @@ kind: ClusterRole metadata: name: cl-controlplane rules: +- apiGroups: [""] + resources: ["configmaps"] + verbs: ["create", "get", "list", "update", "watch"] - apiGroups: [""] resources: ["events"] verbs: ["create", "update"]