Fixed RBAC

This commit is contained in:
jandre 2023-04-11 18:18:46 +02:00
parent d8b685c1ab
commit 61f45a7940

View File

@ -366,7 +366,7 @@ func (r *BackupConfigurationReconciler) createRBACSidecar(sa corev1.ServiceAccou
},
Rules: []rbacv1.PolicyRule{
rbacv1.PolicyRule{
Verbs: []string{"get", "list", "update"},
Verbs: []string{"get", "list", "watch", "update"},
APIGroups: []string{"apps"},
Resources: []string{"deployments"},
},