Commit 6d534b38 authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #48253 from CaoShuFeng/serviceaccount

Automatic merge from submit-queue (batch tested with PRs 49218, 48253, 48967, 48460, 49230) allow impersonate serviceaccount in cli We can impersonate four kinds of resources according to the code: https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apiserver/pkg/endpoints/filters/impersonation.go#L83 **Release note**: ``` allow impersonate serviceaccount in cli ``` Fixes: https://github.com/kubernetes/kubernetes/issues/48260
parents 19e4fac1 a59f3490
......@@ -79,6 +79,10 @@ var (
},
{
Group: "",
Resource: "serviceaccounts",
},
{
Group: "",
Resource: "groups",
},
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment