kubernetes v1.31
PolicyRulesWithSubjects.subjects
subjects is the list of normal user, serviceaccount, or group that this rule cares about. There must be at least one member in this slice. A slice that includes both the system:authenticated and system:unauthenticated user groups matches every request. Required.
| Field / Type | Description |
|---|---|
`group` matches based on user group name. | |
kind | `kind` indicates which one of the other fields is non-empty. Required |
`serviceAccount` matches ServiceAccounts. | |
`user` matches based on username. |