Manage least-privilege Kubernetes permissions for Service Identity accounts
Maintainer thường phản hồi trong vòng 4 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 25/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ệ
- kubernetes, rust
- Lĩnh vực
- infrastructure, security
Hướng nghiên cứu
Read the Fiberd overhaul and the related issues #24, #26, #31, and #38 first; the issue says the permission model may change, so exact roles and Pod topology are unresolved. Then trace where core manages ServiceAccounts, RBAC, owned inventory, status, and identity deletion. Done means custom identities retain required runtime permissions, escalation and ownership collisions are rejected, drift is reported, cleanup removes only owned resources, and negative tests show no general Kubernetes API access.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Part of the Service Identity work (#38), feature 8 in its inventory.
Goal
Allow a generated application-identity ServiceAccount to run the platform execution host without granting broader Kubernetes authority.
Review against the Fiberd overhaul before fixing exact role names or Pod topology.
Requirements
- Replacing a default execution-host ServiceAccount with a provider-generated account must not break required platform permissions.
- Core, not cloud-provider code, owns the necessary Kubernetes RBAC.
- Reuse narrowly scoped platform roles rather than synthesizing broad rules from provider input.
- The initial specification uses deterministic namespaced RoleBinding and ClusterRoleBinding resources referencing existing Home roles; the namespace role is restricted to the intended namespace resource name.
- Treat those objects as a starting design, not a commitment if the new Fiberd model removes or changes the permissions.
- Require exact role references, expected namespace, and a single intended ServiceAccount subject.
- Never accept provider-returned arbitrary Role/ClusterRole/binding resources or an input role reference that permits escalation.
- Validate ownership/name collisions before cloud mutation where possible.
- Track generated ServiceAccount and bindings in owned inventory; surface missing/drifted objects in status and remove them on identity deletion/uninstall.
- Initial namespace scope may be default-only if that matches existing product support; fail clearly instead of applying partially in unsupported namespaces.
Acceptance
- Custom identity ServiceAccount supports the required runtime/platform lifecycle.
- Foreign subjects/roles, broad permissions, and ownership collisions are rejected.
- Status identifies the exact missing binding; cleanup removes only owned resources.
- Negative tests prove application identity does not acquire general Kubernetes API access.
Coordinate with provider identity #24, projection #26, and inventory #31. Implementation must follow the new Fiberd permission model.
- Ngôn ngữ chính
- Rust
- Star
- 3
- Fork
- 2
- Merge trung bình
- 3 ngày 57 phút
- Pull request đã merge (30 ngày)
- 17
Chuẩn bị môi trường
- 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 hyperlight-dev/lampyr
-
a-needs-info dependencies
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
hyperlight-dev/lampyr#49 ·
Maintainer thường phản hồi trong vòng 4 ngày
-
a-needs-info
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
hyperlight-dev/lampyr#34 ·
Maintainer thường phản hồi trong vòng 4 ngày
-
Provision production AKS ingress DNS and TLSCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
hyperlight-dev/lampyr#76 ·
Maintainer thường phản hồi trong vòng 4 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
hyperlight-dev/lampyr#75 ·
Maintainer thường phản hồi trong vòng 4 ngày
-
a-needs-info enhancement
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
hyperlight-dev/lampyr#55 ·
Maintainer thường phản hồi trong vòng 4 ngày
Tất cả issue của hyperlight-dev/lampyr
Issue tương tự
-
bug P2: medium
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
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 64/100
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 75/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 86/100
-
tests
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
vfarcic/dot-agent-deck#2512 ·
Maintainer thường phản hồi trong vòng 1 ngày