Implement Service Identity
Los mantenedores suelen responder en 4 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 20/100
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- Rust
- Estrellas
- 3
- Forks
- 2
- Merge medio
- 3 d 57 min
- PR fusionados (30 d)
- 17
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de hyperlight-dev/lampyr
-
a-needs-info dependencies
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
hyperlight-dev/lampyr#49 ·
Los mantenedores suelen responder en 4 días
-
a-needs-info
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
hyperlight-dev/lampyr#34 ·
Los mantenedores suelen responder en 4 días
-
Provision production AKS ingress DNS and TLSPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
hyperlight-dev/lampyr#76 ·
Los mantenedores suelen responder en 4 días
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
hyperlight-dev/lampyr#75 ·
Los mantenedores suelen responder en 4 días
-
a-needs-info enhancement
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
hyperlight-dev/lampyr#55 ·
Los mantenedores suelen responder en 4 días
Todos los issues de hyperlight-dev/lampyr
Issues similares
-
bug P2: medium
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 86/100
-
tests
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
vfarcic/dot-agent-deck#2512 ·
Los mantenedores suelen responder en 1 día