Skip to content

Commit

Permalink
[GEN-1748]: fix backend error - failed to fetch potential destinations (
Browse files Browse the repository at this point in the history
#1853)

Co-authored-by: Alon Braymok <[email protected]>
Co-authored-by: Amir Blum <[email protected]>
  • Loading branch information
3 people authored Nov 25, 2024
1 parent b182223 commit 5f2b990
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cli/cmd/resources/ui.go
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,11 @@ func NewUIClusterRole() *rbacv1.ClusterRole {
Resources: []string{"namespaces"},
Verbs: []string{"get", "list", "watch", "patch"},
},
{
APIGroups: []string{""},
Resources: []string{"services"},
Verbs: []string{"list"},
},
{
APIGroups: []string{""},
Resources: []string{"configmaps"},
Expand Down
6 changes: 6 additions & 0 deletions helm/odigos/templates/ui/clusterrole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ rules:
- list
- watch
- patch
- apiGroups:
- ""
resources:
- services
verbs:
- list
- apiGroups:
- ""
resources:
Expand Down

0 comments on commit 5f2b990

Please sign in to comment.