mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-05-01 13:26:42 +00:00
⚡ Give the permission of listing or watching the persistentvolumeclaims
to the ClusterRole
This commit is contained in:
parent
c342885cae
commit
df7d1ac10c
@ -19,6 +19,7 @@ rules:
|
||||
- pods
|
||||
- services
|
||||
- endpoints
|
||||
- persistentvolumeclaims
|
||||
verbs:
|
||||
- list
|
||||
- get
|
||||
|
@ -575,9 +575,22 @@ func (provider *Provider) BuildClusterRole() *rbac.ClusterRole {
|
||||
},
|
||||
Rules: []rbac.PolicyRule{
|
||||
{
|
||||
APIGroups: []string{"", "extensions", "apps"},
|
||||
Resources: []string{"pods", "services", "endpoints"},
|
||||
Verbs: []string{"list", "get", "watch"},
|
||||
APIGroups: []string{
|
||||
"",
|
||||
"extensions",
|
||||
"apps",
|
||||
},
|
||||
Resources: []string{
|
||||
"pods",
|
||||
"services",
|
||||
"endpoints",
|
||||
"persistentvolumeclaims",
|
||||
},
|
||||
Verbs: []string{
|
||||
"list",
|
||||
"get",
|
||||
"watch",
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
@ -19,6 +19,7 @@ rules:
|
||||
- pods
|
||||
- services
|
||||
- endpoints
|
||||
- persistentvolumeclaims
|
||||
verbs:
|
||||
- list
|
||||
- get
|
||||
|
Loading…
Reference in New Issue
Block a user