Implement Service Identity
メンテナーはふだん 4 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 20/100
調査の方向性
Start with linked issues #23 and #24 for the manifest and provider lifecycle contracts, then review #25–#31 for the implementation boundaries and dependencies. The payload does not name source files or tests; first inspect those issues and the current Fiberd runtime wiring. Done means the acceptance checks pass, including federated login, resource-group-scoped access, token rotation, policy enforcement, and cleanup.
索引モデルが issue の本文から書いたものです。
説明
Implement provider-neutral Service Identity, with Azure as the first provider. The feature inventory and reliability checklist below came from the original tracking issue.
Suggested order:
- Define the manifest contract (#23), then the provider lifecycle and runtime binding (#24). Agree on ownership/inventory (#31) alongside these contracts, before resource creation.
- Implement recoverable inventory and cleanup (#31), then Azure identity, federation, and explicit resource-group-scoped roles (#25).
- Add core-owned, least-privilege Kubernetes permissions (#27), then project approved identity tokens into Fibers at execution time (#26). Keep token contents out of snapshots and stored metadata.
- Wire identity and outbound-policy readiness into deploy/status (#28), then prove federated login, token rotation, access denial outside the allowed scope, and cleanup end to end.
Azure infrastructure work and core runtime preparation can proceed in parallel once the contracts are agreed. Keep cloud-specific interpretation in the provider and Kubernetes operations in core. Adapt runtime wiring to the current Fiberd model.
Cluster-local visibility is already supported and is not part of this work. Outbound network policy is tracked primarily by #19, which is the parent of the shared readiness (#28) and inventory/cleanup (#31) issues. Their identity requirements remain part of this work and follow the order above; coordinate their outbound-policy portions with #19 rather than duplicating them.
Feature inventory
Other issues refer to these feature numbers.
| # | Feature | Tracking |
|---|---|---|
| 1 | Provider-neutral Service Identity declaration | #23 |
| 2 | Provider identity apply/status/delete protocol | #24 |
| 3 | Azure OIDC, Workload Identity, federation, managed identity and scoped RBAC | #25 |
| 4 | Project identity into Fibers | #26 |
| 5, 10 | Outbound policy contract and Kubernetes/Cilium enforcement | #19 |
| 6 | Direct cluster-local Service calls | done |
| 7 | Cluster-local visibility configuration | done |
| 8 | Least-privilege generated identity ServiceAccount permissions | #27 |
| 9 | Identity/policy readiness reporting | #28 |
| 11 | Azure ACNS network security independent of Eventing | #29 |
| 12 | Restricted registry/data-endpoint egress | #30 |
| 13 | Identity/policy ownership, inventory and cleanup | #31 |
| 14 | Correct public/internal URL reporting | #32 |
| 15 | Bundle upstream bootstrap manifests | #20 |
Reliability checklist
Problems seen while building the Azure CLI workload-identity sample. Reproduce and fix each on the current architecture; tick a box only with a focused test.
- 16. Remote snapshot transfer integrity: detect truncated or corrupt uploaded inputs before execution, bound retries, verify transfers and clean up builder Pods.
- 17. Knative deploy idempotency: redeploying the same immutable Revision tolerates Knative's defaulted fields instead of failing on a readiness-probe change.
- 18. Registry mirror composition: combine the provider's and the runtime/service mirror configuration consistently, keep provider-free local clusters working, and define which wins on conflict.
- 19. CLI deadline policy: tell long preparation from a stalled command, honour cancellation, and report the stage that is slow, rather than raising a timeout.
- 20. Moved Grant CRD source: don't fail install when an upstream repository or path disappears (with #20).
- 21. AppArmor target mismatch: profile metadata targets the actual container and stays correct after a rename.
- 22. Home reconciliation: safely reconcile changed host configuration, missing Pods and stale readiness; check which cases main already fixes.
- 23. JWKS startup ordering: a transient issuer or key-cache failure at startup must not leave a valid Grant unadmitted for good; invalid tokens are still rejected.
- 24. Restricted DNS search: handle
ndots/search expansion under an exact DNS policy without falling back to broad DNS or egress. - 25. Artifact pull authentication: public registry pulls never use an application's projected Azure identity or need unrelated RBAC (see #13).
- 26. Large artifacts: preparation handles supported large inputs, stops on cancellation, reports truncated transfers and redirect denial correctly, and doesn't misreport a missing kernel or metadata.
- 27. Provider metadata validation: protocol loaders, packaging and snapshot publication agree on which identity operations and manifest returns are allowed.
- 28. Provider state-key limits: generated identity state keys fit the host storage contract and stay deterministic and collision-resistant.
Acceptance
- Both sample Services run in Fibers, and federated login works with no workstation credentials.
- Create/list/delete work in the assigned resource group and are denied outside it.
- Outbound policy is enforced at the Fiber and host boundaries.
- Token rotation, malformed projection, ownership collisions, partial failure, cancellation, retry and cleanup are tested, and test cloud resources are cleaned up.
- 主要言語
- Rust
- スター
- 3
- フォーク
- 2
- 平均マージ
- 3日 57分
- マージ済み PR(30日)
- 17
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- 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対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
hyperlight-dev/lampyr#76 ·
メンテナーはふだん 4 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 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 日以内に返信