More RBAC
This commit is contained in:
parent
4a5c5b34e1
commit
03571f174a
@ -445,7 +445,12 @@ func (r *BackupConfigurationReconciler) createSidecarRBAC(podSpec *corev1.PodSpe
|
|||||||
rbacv1.PolicyRule{
|
rbacv1.PolicyRule{
|
||||||
Verbs: []string{"get", "list", "watch", "create", "update", "patch", "delete"},
|
Verbs: []string{"get", "list", "watch", "create", "update", "patch", "delete"},
|
||||||
APIGroups: []string{""},
|
APIGroups: []string{""},
|
||||||
Resources: []string{"secrets", "persistentvolumeclaims", "configmaps"},
|
Resources: []string{"persistentvolumeclaims"},
|
||||||
|
},
|
||||||
|
rbacv1.PolicyRule{
|
||||||
|
Verbs: []string{"get", "list", "watch"},
|
||||||
|
APIGroups: []string{""},
|
||||||
|
Resources: []string{"secrets", "configmaps"},
|
||||||
},
|
},
|
||||||
rbacv1.PolicyRule{
|
rbacv1.PolicyRule{
|
||||||
Verbs: []string{"get", "list", "watch", "create", "update", "patch", "delete"},
|
Verbs: []string{"get", "list", "watch", "create", "update", "patch", "delete"},
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user