Skip to content

Commit

Permalink
Add missing required permissions to diagnose
Browse files Browse the repository at this point in the history
Add getting and listing namespaces permission,
which is used during kubeproxy and firewall in diagnose tests
Add getting and listing deployments permission,
which used during the deployment diagnose test

Signed-off-by: Tomer Shefler <[email protected]>
  • Loading branch information
tomer-shefler authored and tpantelis committed Aug 30, 2022
1 parent d11c75f commit ee22694
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/rbac/submariner-diagnose/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,15 @@ rules:
- ""
resources:
- configmaps
- namespaces
verbs:
- get
- list
- apiGroups:
- apps
resources:
- daemonsets
- deployments
verbs:
- get
- list
Expand Down
2 changes: 2 additions & 0 deletions pkg/embeddedyamls/yamls.go
Original file line number Diff line number Diff line change
Expand Up @@ -2729,13 +2729,15 @@ rules:
- ""
resources:
- configmaps
- namespaces
verbs:
- get
- list
- apiGroups:
- apps
resources:
- daemonsets
- deployments
verbs:
- get
- list
Expand Down

0 comments on commit ee22694

Please sign in to comment.