Lighter Roles for watched namespaces
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 52/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- go, helm, kubernetes
- Lĩnh vực
- authorization, security
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Go
- Star
- 4.5k
- Fork
- 937
- Merge trung bình
- 1 ngày 10 giờ
- Pull request đã merge (30 ngày)
- 150
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của kagent-dev/kagent
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
kagent-dev/kagent#3792 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
kagent-dev/kagent#3790 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 80/100
kagent-dev/kagent#3789 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[BUG] A2A lookups by task or context ID reveal whether another user's resource existsCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
kagent-dev/kagent#3787 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[BUG] Python memory summarization fails for Gemini models: the request has no model nameCó thể đã có người làm @BahaaMattar đã nhận 6 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
kagent-dev/kagent#3710 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của kagent-dev/kagent
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
limitlessprojects/Go-Hybrid#4764 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[bug]: lint fails on main, generated CLI docs out of dateCó thể đã có người làm @bupd đã nhận hôm nay. Đang mởbug documentation
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
goharbor/harbor-cli#1180 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
crane: mutate --env adds duplicate PATH on Windows images when key case differsCó thể đã có người làm @aad1tyaaaaa đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
google/go-containerregistry#2523 ·
Maintainer thường phản hồi trong vòng 4 ngày
-
bosh_io_stemcell_type: regular does not work for noble and resolute as it adds -go_agent as suffixĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
cloudfoundry/bosh-deployment-resource#138 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100