From 836cf11afd6394f86e6d1a693139f4b50b4fde40 Mon Sep 17 00:00:00 2001 From: Jim Bugwadia Date: Thu, 6 Feb 2020 00:42:01 -0800 Subject: [PATCH] add service accounts to subjects --- documentation/writing-policies.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/documentation/writing-policies.md b/documentation/writing-policies.md index 1d017a4482..cfede6f81e 100644 --- a/documentation/writing-policies.md +++ b/documentation/writing-policies.md @@ -10,8 +10,7 @@ Each Kyverno policy contains one or more rules. Each rule has a `match` clause, The match / exclude clauses have the same structure, and can contain the following elements: * resources: select resources by name, namespaces, kinds, and label selectors. -* subjects: select users and user groups -* serviceAccounts: select service accounts +* subjects: select users, user groups, and service accounts * roles: select namespaced roles * clusterroles: select cluster wide roles