Lighter Roles for watched namespaces
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 52/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- go, helm, kubernetes
- Ambito
- authorization, security
Direzione di ricerca
Start with helm/kagent/templates/rbac/getter-role.yaml and writer-role.yaml, especially the rules cited in the issue, and compare how rbac.namespaces and watchNamespaces render Roles. Review the related workerpools Role discussed in #3240 and determine which permissions agents still need in watched namespaces. Done means the chart provides a minimal namespace Role set that covers the listed resources and clarifies whether apps and batch writes remain necessary.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
When rbac.namespaces (or watchNamespaces) lists a namespace, the chart gives the controller the same getter and writer Roles there that it gets cluster-wide.
- Reads: get, list and watch on every core resource (getter-role.yaml:39-46).
- Writes: create, update, patch and delete on every core resource, plus
appsandbatch(writer-role.yaml:35-61).
In a namespace the platform doesn't own, that means every Secret is readable and every pod can be exec'd into (* includes pods/exec).
We're on AKS with agents declared in tenants' own namespaces, so the controller ends up watching a lot of namespaces it doesn't own. What it needs there looks much smaller:
- the
api.kagent.devkinds and their status and finalizers; - the Secrets and ConfigMaps an Agent's ModelConfig, EgressPolicy or MCP servers reference;
- events.
Is the write on apps and batch still needed now that agents run as actors? Tbh I couldn't tell from the chart alone.
Could the rules be split so that watched namespaces get a minimal set? Ideally Secrets would be get only, if the controller can read them without a cache. The read-only workerpools Role for a pool's namespace that we mentioned on #3240 would fit the same split.
Happy to send a PR once we agree the shape. We're keen to help kagent work well multi-tenant.
- Lingua principale
- Go
- Stelle
- 4.5k
- Fork
- 937
- Merge medio
- 1g 10h
- PR unite (30g)
- 150
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di kagent-dev/kagent
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
kagent-dev/kagent#3792 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
kagent-dev/kagent#3790 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
kagent-dev/kagent#3789 ·
I maintainer di solito rispondono entro 1 giorno
-
[BUG] A2A lookups by task or context ID reveal whether another user's resource existsForse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
kagent-dev/kagent#3787 ·
I maintainer di solito rispondono entro 1 giorno
-
[BUG] Python memory summarization fails for Gemini models: the request has no model nameForse già presa @BahaaMattar l’ha presa 6 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
kagent-dev/kagent#3710 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di kagent-dev/kagent
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
limitlessprojects/Go-Hybrid#4764 ·
I maintainer di solito rispondono entro 1 giorno
-
[bug]: lint fails on main, generated CLI docs out of dateForse già presa @bupd l’ha presa oggi. Apertabug documentation
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
goharbor/harbor-cli#1180 ·
I maintainer di solito rispondono entro 1 giorno
-
crane: mutate --env adds duplicate PATH on Windows images when key case differsForse già presa @aad1tyaaaaa l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
google/go-containerregistry#2523 ·
I maintainer di solito rispondono entro 4 giorni
-
bosh_io_stemcell_type: regular does not work for noble and resolute as it adds -go_agent as suffixAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
cloudfoundry/bosh-deployment-resource#138 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100