1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

SelfSubjectAccessReview use 'pods' resource (#204)

Signed-off-by: Christopher biggs <christopher.l.biggs@gmail.com>
This commit is contained in:
Christopher Biggs 2020-04-03 12:44:50 -04:00 committed by GitHub
parent 7450557f17
commit 70abf73176
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,7 +13,7 @@ function selfSubjectAccessReview(authApi: AuthorizationV1Api, namespace: string)
spec: { spec: {
resourceAttributes: { resourceAttributes: {
namespace: namespace, namespace: namespace,
resource: "pod", resource: "pods",
verb: "list", verb: "list",
} }
} }