Manage owned Service Identity and network policy inventory and cleanup
维护者通常 4 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 20/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- kubernetes, rust
调研方向
Start by reading the related issues #19, #24, #27, #28, and #38 to understand the provider lifecycle, RBAC, readiness, and shared inventory work. The issue does not name source files or tests, so locate the existing Service Identity and outbound-policy entry points and their tests before defining the storage and reconciliation adapter. Done means the partial-failure, retry, ownership, drift, cleanup, and uninstall cases in Acceptance have focused tests, with foreign resources preserved and required manual cleanup reported.
由索引模型根据 Issue 内容生成。
描述
Part of the outbound-policy work (#19), feature 13 in the #38 inventory. Shared identity work coordinates with #38.
Goal
Give Service Identity and outbound policies durable, provider-neutral ownership/inventory and a recoverable lifecycle.
Infrastructure and Kubernetes resource ownership must remain distinct.
Contract and lifecycle
- Persist installation/provider, Service/namespace/identity context, validated runtime binding, cloud inventory, and identities of approved owned Kubernetes resources.
- Never persist token bytes, cloud credentials, or auth-cache contents in the record.
- Use deterministic bounded names and a versioned, bounded record format; reject malformed/foreign records.
- Apply is idempotent and can resume after interruption without adopting unrelated resources.
- Preflight resource ownership/capability before cloud mutation when possible.
- On newly created identity apply failure, compensate only resources created by that operation.
- On an existing identity update failure, preserve pre-existing resources; never over-delete the existing identity.
- Handle failures after cloud creation, Kubernetes apply, and record persistence explicitly.
- Status detects actual cloud/cluster drift. A later apply/reconciliation can repair missing owned objects safely.
- Delete and cluster uninstall use saved inventory, validate ownership, and remove identity/policy resources in safe dependency order.
- Never delete external resource groups, foreign role assignments, or customer data. Surface required manual cleanup instead of reporting success.
Acceptance
Focused failure-injection tests for each partial phase, retry, collision, missing resource, role update, malformed inventory, provider unavailability, and uninstall. Verify deterministic cleanup and diagnostic errors.
Define the storage/reconciliation adapter for the future Fiberd architecture; a specific ConfigMap layout or custom new public API is not required. Coordinate with readiness #28, provider lifecycle #24, RBAC #27, and #19.
- 主要语言
- Rust
- 星标
- 3
- 派生
- 2
- 平均合并
- 3 天 57 分钟
- 30 天内合并 PR
- 17
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
hyperlight-dev/lampyr 的其他 Issue
-
a-needs-info dependencies
难度 2/5 1-3 小时 新手友好度 72/100
hyperlight-dev/lampyr#49 ·
维护者通常 4 天内回复
-
a-needs-info
难度 2/5 1-3 小时 新手友好度 68/100
hyperlight-dev/lampyr#34 ·
维护者通常 4 天内回复
-
Provision production AKS ingress DNS and TLS可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 5/5 一周以上 新手友好度 25/100
hyperlight-dev/lampyr#76 ·
维护者通常 4 天内回复
-
难度 5/5 一周以上 新手友好度 25/100
hyperlight-dev/lampyr#75 ·
维护者通常 4 天内回复
-
a-needs-info enhancement
难度 4/5 3-5 天 新手友好度 48/100
hyperlight-dev/lampyr#55 ·
维护者通常 4 天内回复
查看 hyperlight-dev/lampyr 的全部 Issue
相似的 Issue
-
bug P2: medium
难度 2/5 1-3 小时 新手友好度 66/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 64/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 75/100
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 86/100
-
tests
难度 2/5 1-3 小时 新手友好度 70/100
vfarcic/dot-agent-deck#2512 ·
维护者通常 1 天内回复