mirror of
https://github.com/rancher/k3k.git
synced 2026-08-18 03:46:31 +00:00
allow exec into pod and fetching log in shared mode (#160)
This commit is contained in:
@@ -245,7 +245,7 @@ func (s *SharedAgent) role() *rbacv1.Role {
|
||||
{
|
||||
Verbs: []string{"*"},
|
||||
APIGroups: []string{""},
|
||||
Resources: []string{"pods", "secrets", "configmaps", "services"},
|
||||
Resources: []string{"pods", "pods/log", "pods/exec", "secrets", "configmaps", "services"},
|
||||
},
|
||||
{
|
||||
Verbs: []string{"get", "watch", "list"},
|
||||
|
||||
Reference in New Issue
Block a user