SelfSubjectAccessReview use 'pods' resource (#204)

Signed-off-by: Christopher biggs <christopher.l.biggs@gmail.com>
Signed-off-by: Cody Belcher <cody.t.belcher@gmail.com>
This commit is contained in:
Christopher Biggs authored and Cody Belcher committed 2020-04-16 11:23:40 -05:00
1 parent 41503f0dfe
commit 223da6e9b5
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",
} }
} }