mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
add "use" to validResourceVerbs
This commit is contained in:
parent
302aab9ba2
commit
a01cf0e66b
@ -45,7 +45,7 @@ var (
|
||||
kubectl create role pod-reader --verb=get --verg=list --verb=watch --resource=pods --resource-name=readablepod`)
|
||||
|
||||
// Valid resource verb list for validation.
|
||||
validResourceVerbs = []string{"*", "get", "delete", "list", "create", "update", "patch", "watch", "proxy", "redirect", "deletecollection"}
|
||||
validResourceVerbs = []string{"*", "get", "delete", "list", "create", "update", "patch", "watch", "proxy", "redirect", "deletecollection", "use"}
|
||||
)
|
||||
|
||||
type CreateRoleOptions struct {
|
||||
|
Loading…
Reference in New Issue
Block a user