the sidecar pod needs to delete backupsessions now

This commit is contained in:
Jean-Marc ANDRE 2020-12-13 20:54:51 +01:00
parent ad76d70933
commit d8244041b5

View File

@ -187,6 +187,11 @@ func CreateBackupSessionListenerRBAC(cl client.Client, saName string, namespace
APIGroups: []string{"formol.desmojim.fr"},
Resources: []string{"backupsessions", "backupconfigurations"},
},
rbacv1.PolicyRule{
Verbs: []string{"update", "delete"},
APIGroups: []string{"formol.desmojim.fr"},
Resources: []string{"backupsessions"},
},
rbacv1.PolicyRule{
Verbs: []string{"get", "list", "watch", "patch", "update"},
APIGroups: []string{"formol.desmojim.fr"},