Add provider Service Identity lifecycle operations and runtime binding
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
- 35/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- kubernetes, rust
- Ambito
- backend-api-design, infrastructure
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- 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 ·