mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-12-08 02:15:27 +00:00
Service account authorization checks are done frequently and were observed to perform 7% of allocations on a system running e2e tests. The allocation comes from when we walk the authorization rules to find matching service accounts. Optimize the check for service account names to avoid allocating.