-
Notifications
You must be signed in to change notification settings - Fork 432
Open
Labels
kind/featureCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.
Milestone
Description
Feature Description
Currently when using sharded setup and using ServiceAccounts, --service-account-lookup=false must be set. This is due to fact when trying to authenticate any service accounts requests for SubjectAccessReview are being generated towards root shard and secondary shards. Meaning if service account orginates from secondary shard - root shard will not be able to verify its existence and give "Rewoked" error.
This means one can't revoke service accounts in sharded setup.
Proposed Solution
We should create a machinery as POC'ed in PRs bellow to enable cross-shards service accounts lookups and checkins.
After this few things should be fixed:
- removal of
--service-account-lookup=falseflag. This is deprecated in upstream so we need to work on stop using it either way. - Enable bindings to cross-shards/cross-workspaces service accounts enabling to grant access to non-native workspace service accounts.
Alternative Solutions
No response
Want to contribute?
- I would like to work on this issue.
Additional Context
No response
Metadata
Metadata
Assignees
Labels
kind/featureCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.
Type
Projects
Status
New