kubernetes v1.32

PolicyRulesWithSubjects.subjects

Subject matches the originator of a request, as identified by the request authentication system. There are three ways of matching an originator; by user, group, or service account.

4 fields
PolicyRulesWithSubjects.subjects fields and descriptions
Field / TypeDescription
GroupSubject

`group` matches based on user group name.

kind
string required

`kind` indicates which one of the other fields is non-empty. Required

ServiceAccountSubject

`serviceAccount` matches ServiceAccounts.

UserSubject

`user` matches based on username.