mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 12:43:23 +00:00
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
This commit is contained in:
commit
6d534b38e8
@ -77,6 +77,10 @@ var (
|
||||
Group: "",
|
||||
Resource: "users",
|
||||
},
|
||||
{
|
||||
Group: "",
|
||||
Resource: "serviceaccounts",
|
||||
},
|
||||
{
|
||||
Group: "",
|
||||
Resource: "groups",
|
||||
|
Loading…
Reference in New Issue
Block a user