Merge pull request #42626 from xilabao/patch-9
Automatic merge from submit-queue (batch tested with PRs 41890, 42593, 42633, 42626, 42609) add "use" to validResourceVerbs ref to https://github.com/kubernetes/kubernetes/issues/17637
This commit is contained in:
commit
6466e34a9a
|
@ -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