Enforce caller-auth on flex-auth-user-engine and record the live A2 probe
Helm-adopted the kubectl-managed user-engine pin, promoted sha256:138aa347 warn then enforce. Reviewer volume needs fsGroup 65532; reviewer tokens must use the API default audiences or TokenReview 401s on this k3s. Live probe from user-engine-8569d7cb87-fp7px: 200 / 401 / 403. tenant-engine is unchanged. tenancy.current.A stays 0 until that pin moves.
This commit is contained in:
parent
ebde4ecba6
commit
b2431e3cad
12 changed files with 60 additions and 26 deletions
|
|
@ -22,7 +22,11 @@ Use Kubernetes ServiceAccount tokens with audience `flex-auth`. flex-auth calls
|
|||
the Kubernetes TokenReview API through a separately projected reviewer token
|
||||
and binds the authenticated ServiceAccount principal to every
|
||||
`resource.system` in the request. Both the single and batch endpoints use the
|
||||
same choke point; health remains unauthenticated.
|
||||
same choke point; health remains unauthenticated. The reviewer token uses the
|
||||
API server's default audiences so it can authenticate to TokenReview; a
|
||||
custom audience of `https://kubernetes.default.svc` 401s on this cluster
|
||||
(`https://kubernetes.default.svc.cluster.local` and `k3s`). Caller tokens
|
||||
keep audience `flex-auth`.
|
||||
|
||||
Each deployed policy instance has an explicit, exact binding. For example:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue