SelfSubjectAccessReview use 'pods' resource (#204)

Signed-off-by: Christopher biggs <christopher.l.biggs@gmail.com>
This commit is contained in:
Christopher Biggs authored and GitHub committed 2020-04-03 19:44:50 +03:00
1 parent 7450557f17
commit 70abf73176
1 file changed
+1 -1
+1 -1
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",
} }
} }