From 7450d4ced613b622f1f84b14043c5d45c9c78d6f Mon Sep 17 00:00:00 2001 From: Jean-Marc ANDRE Date: Fri, 28 Apr 2023 16:35:26 +0200 Subject: [PATCH] missing RBAC rule again: PersistentVolumes --- controllers/backupconfiguration_controller_helpers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/backupconfiguration_controller_helpers.go b/controllers/backupconfiguration_controller_helpers.go index 9f719f2..efd76d3 100644 --- a/controllers/backupconfiguration_controller_helpers.go +++ b/controllers/backupconfiguration_controller_helpers.go @@ -465,7 +465,7 @@ func (r *BackupConfigurationReconciler) createSidecarRBAC(podSpec *corev1.PodSpe rbacv1.PolicyRule{ Verbs: []string{"get", "list", "watch"}, APIGroups: []string{""}, - Resources: []string{"secrets", "configmaps"}, + Resources: []string{"secrets", "configmaps", "persistentvolumes"}, }, rbacv1.PolicyRule{ Verbs: []string{"get", "list", "watch", "create", "update", "patch", "delete"},