Skip to content

Commit

Permalink
console role list&watch search-operator permission (#1070)
Browse files Browse the repository at this point in the history
* console role list&watch search-operator permission

Signed-off-by: zlayne <[email protected]>

* fix check

Signed-off-by: zlayne <[email protected]>

* undo formatting

Signed-off-by: zlayne <[email protected]>

---------

Signed-off-by: zlayne <[email protected]>
  • Loading branch information
zlayne authored Nov 5, 2024
1 parent 429cb35 commit 0199e88
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
7 changes: 7 additions & 0 deletions config/rbac/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2430,6 +2430,13 @@ rules:
- get
- patch
- update
- apiGroups:
- search.open-cluster-management.io
resources:
- searches
verbs:
- list
- watch
- apiGroups:
- storage.k8s.io
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -279,3 +279,11 @@ rules:
- watch
resources:
- multiclusterengines

- apiGroups:
- search.open-cluster-management.io
verbs:
- list
- watch
resources:
- searches
1 change: 1 addition & 0 deletions pkg/templates/rbac_gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0199e88

Please sign in to comment.