From 95a34af014cd993d675b548ab6fe2c02e817497f Mon Sep 17 00:00:00 2001 From: Abu Sayed <82162518+sayedppqq@users.noreply.github.com> Date: Mon, 9 Oct 2023 18:31:26 +0600 Subject: [PATCH] cluster-role update for backupsession and backupconfig (#679) Signed-off-by: sayedppqq --- .../kubedb-provisioner/templates/cluster-role.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/charts/kubedb-provisioner/templates/cluster-role.yaml b/charts/kubedb-provisioner/templates/cluster-role.yaml index 59ad116db..b8539daff 100644 --- a/charts/kubedb-provisioner/templates/cluster-role.yaml +++ b/charts/kubedb-provisioner/templates/cluster-role.yaml @@ -175,3 +175,17 @@ rules: resources: - sidekicks verbs: ["get", "list", "create", "delete", "patch", "deletecollection"] + +- apiGroups: + - stash.appscode.com + resources: + - backupsessions + - backupconfigurations + verbs: [ "get", "list", "watch" ] + +- apiGroups: + - core.kubestash.com + resources: + - backupsessions + - backupconfigurations + verbs: [ "get", "list", "watch" ]