Skip to content

Commit

Permalink
fix(role): add back rule to access endpoints for CR
Browse files Browse the repository at this point in the history
  • Loading branch information
Thuan Vo committed Aug 16, 2022
1 parent 1aa5745 commit f1e6e25
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -977,6 +977,11 @@ func NewRoleForCR(cr *operatorv1beta1.Cryostat) *rbacv1.Role {
Namespace: cr.Namespace,
},
Rules: []rbacv1.PolicyRule{
{
Verbs: []string{"get", "list", "watch"},
APIGroups: []string{""},
Resources: []string{"endpoints"},
},
{
Verbs: []string{"get"},
APIGroups: []string{""},
Expand Down

0 comments on commit f1e6e25

Please sign in to comment.