Define provider-neutral Service Identity in lampyr.yaml
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
- 25/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- kubernetes, rust, yaml
- Ambito
- backend, infrastructure
Direzione di ricerca
Start by reading the project loading and immutable artifact metadata paths, then trace how ly deploy, status, and delete invoke provider lifecycle operations. Coordinate with issues #24–#27 and #31 because this contract depends on their protocol and integration work. Done means the manifest envelope and structural bounds are validated, opaque config values survive loading and metadata storage, and the specified lifecycle and rejection cases are covered without changing behavior when identity is omitted.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Part of the Service Identity work (#38), feature 1 in its inventory.
Goal
Let a Service declare a provider-managed identity in lampyr.yaml without putting cloud-specific interpretation in Lampyr core.
This is general product functionality, not a sample-specific API.
Proposed manifest contract
identity:
name: tool-identity
providerName: azure
config:
resourceGroup: tool-resources
createResourceGroup: true
roleAssignments:
- role: Reader
nameis a logical identity key, not an instruction to infer roles, resources, or privileges.providerNameselects the installed infrastructure provider. Fail clearly if it differs from the installation or identity support is unavailable.configis an opaque provider-owned mapping. Preserve its values and pass it to the provider; core must not interpret Azure fields, role names, scopes, or defaults.- Core validates the envelope, names, and structural resource bounds before mutation.
- Proposed bounds from the prior specification: 32 KiB serialized config, maximum depth 16, 2,048 value nodes, 1,024 scalars, 4 KiB per serialized scalar, and keys at most 256 bytes without NUL. Keep Rust/Go consumers consistent.
- Configuration and stored metadata contain no credentials or projected token contents.
- No identity declaration means no implicit application cloud identity or role assignment.
Integration and acceptance
- Carry the declaration through project loading and immutable artifact metadata without provider-specific transformations.
ly deployinvokes the selected provider identity lifecycle; status/delete use the corresponding saved identity and ownership context.- Reject unsupported identity capability before creating partial resources.
- Cover malformed names, unknown envelope fields, non-object config, oversize/deep inputs, provider mismatch, and opaque nested-value round trips.
- Do not silently change existing Services' identity behavior when this feature is omitted.
Design boundaries
Coordinate with provider protocol #24, Azure implementation #25, inventory #31, RBAC #27, and runtime projection #26. Runtime Pod/Grant wiring is deliberately separate so the contract can be implemented around the upcoming Fiberd overhaul.
An earlier exploratory prototype contains the previous specification, not an accepted implementation to transplant.
- 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 ·