added configmaps to the role

This commit is contained in:
Jean-Marc ANDRE 2023-04-20 11:30:33 +02:00
parent 6678bc50e1
commit 605e1d2f30

View File

@ -445,7 +445,7 @@ func (r *BackupConfigurationReconciler) createSidecarRBAC(podSpec *corev1.PodSpe
rbacv1.PolicyRule{
Verbs: []string{"get", "list", "watch", "create", "update", "patch", "delete"},
APIGroups: []string{""},
Resources: []string{"secrets", "persistentvolumeclaims"},
Resources: []string{"secrets", "persistentvolumeclaims", "configmaps"},
},
rbacv1.PolicyRule{
Verbs: []string{"get", "list", "watch", "create", "update", "patch", "delete"},