Implement Service Identity
I maintainer di solito rispondono entro 4 giorni
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 20/100
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- Rust
- Stelle
- 3
- Fork
- 2
- Merge medio
- 3g 57m
- PR unite (30g)
- 17
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di hyperlight-dev/lampyr
-
a-needs-info dependencies
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
hyperlight-dev/lampyr#49 ·
I maintainer di solito rispondono entro 4 giorni
-
a-needs-info
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
hyperlight-dev/lampyr#34 ·
I maintainer di solito rispondono entro 4 giorni
-
Provision production AKS ingress DNS and TLSForse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
hyperlight-dev/lampyr#76 ·
I maintainer di solito rispondono entro 4 giorni
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
hyperlight-dev/lampyr#75 ·
I maintainer di solito rispondono entro 4 giorni
-
a-needs-info enhancement
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
hyperlight-dev/lampyr#55 ·
I maintainer di solito rispondono entro 4 giorni
Tutte le issue di hyperlight-dev/lampyr
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 86/100
-
tests
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
vfarcic/dot-agent-deck#2512 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
pop-os/cosmic-applets#1641 ·
I maintainer di solito rispondono entro 3 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
pop-os/cosmic-store#650 ·