Add provider Service Identity lifecycle operations and runtime binding
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
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- kubernetes, rust
- Lĩnh vực
- backend-api-design, infrastructure
Hướng nghiên cứu
Start by reading the related manifest contract #23 and the provider protocol, validator, packaging, and lifecycle code; the issue names no specific files. Trace how existing providers handle apply, status, and delete, then review the linked inventory/cleanup #31 and runtime projection #26 work. Done means the identity operations validate requests and bindings, return owned inventory and approved manifests, and pass the listed fake-provider lifecycle and failure cases.
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 2 in its inventory.
Goal
Add infrastructure-only provider lifecycle operations for per-Service identities.
This protocol must work independently of the Azure sample and of the exact Fiberd Home architecture.
Operations and request context
Advertise and implement identity-apply, identity-status, and identity-delete as a coherent capability. Extend every provider artifact/protocol/packaging validator consistently.
Requests carry:
- installation identity and installed-provider context;
- Service name and namespace;
- the logical identity name and provider name;
- opaque provider-owned
identity.configfor apply; - saved infrastructure inventory for reconciliation/status/delete.
Validate capabilities and request shapes before mutation. An identity-aware deployment must not silently proceed with an older provider that lacks support.
Provider result contract
Return owned infrastructure inventory, optional approved Kubernetes manifests, and a validated provider-neutral runtime binding:
{
"serviceAccountName": "generated-service-account",
"namespace": "default",
"homePod": {"labels": {}, "annotations": {}},
"guestEnvironment": ["CLIENT_ID", "TENANT_ID", "TOKEN_FILE"],
"tokenFileEnvironment": "TOKEN_FILE",
"allowedTokenRoot": "/var/run/secrets/provider/tokens"
}
- Environment entries are allowed variable names, never secret values.
tokenFileEnvironmentmust name one permitted variable.- The token root must be a normalized, bounded, dedicated projected-token directory; reject traversal and broad mounts.
- Metadata cannot override Lampyr ownership/security fields.
- Fail deploy if infrastructure apply succeeds without a usable binding.
- The exact adapter into the future Fiberd architecture is a separate concern; do not make a particular CapacityGrant layout part of the cloud-provider protocol.
Authority boundaries
- Provider code performs cloud infrastructure operations only; it receives no Kubernetes credentials or unrestricted cluster client.
lyvalidates, claims, approves as appropriate, and applies returned Kubernetes resources.- Initial supported identity manifest is the generated ServiceAccount; core owns any necessary Home permissions. Do not allow arbitrary provider-generated RBAC.
- Scope manifest-return capability to identity apply and the existing legitimate lifecycle operations; do not widen all provider operations.
- Authentication cache contents remain outside artifacts, snapshots, requests, inventory, and logs.
Acceptance
- Exercise apply, repeated apply, status, role/config updates, and inventory-driven delete with a fake provider.
- Explicit readiness and terminal errors; never return success-shaped defaults.
- Cover missing capabilities, invalid bindings/manifests, ownership collisions, interrupted operations, and compensation for newly created resources.
- Preserve compatibility for providers without identity functionality when no identity is requested.
- Document operation schemas, result semantics, limits, and ownership guarantees.
Coordinate with manifest contract #23, Azure implementation #25, inventory/cleanup #31 and runtime projection #26.
- 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