SelfSubjectAccessReview use 'pods' resource

Signed-off-by: Christopher biggs <christopher.l.biggs@gmail.com>
This commit is contained in:
Christopher biggs committed 2020-04-03 08:57:42 -04:00
1 parent 38ef92b52f
commit 5a235036a3
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",
} }
} }