Skip to content

Commit

Permalink
Allow clusters to update and patch cluster status (#271)
Browse files Browse the repository at this point in the history
Fixes Commodore CI compilation which uses `patch` for `compileMeta`.
  • Loading branch information
bastjan authored Jun 3, 2024
1 parent 4635977 commit 5b9b4dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/cluster/rbac.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ func createOrUpdateClusterRole(ctx context.Context, c client.Client, objMeta met
Rules: []rbacv1.PolicyRule{{
APIGroups: []string{synv1alpha1.GroupVersion.Group},
Resources: []string{"clusters", "clusters/status"},
Verbs: []string{"get", "update"},
Verbs: []string{"get", "update", "patch"},
ResourceNames: []string{objMeta.Name},
}},
}
Expand Down

0 comments on commit 5b9b4dd

Please sign in to comment.