Manage least-privilege Kubernetes permissions for Service Identity accounts
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
- 25/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- kubernetes, rust
- Área
- infrastructure, security
Línea de trabajo
Read the Fiberd overhaul and the related issues #24, #26, #31, and #38 first; the issue says the permission model may change, so exact roles and Pod topology are unresolved. Then trace where core manages ServiceAccounts, RBAC, owned inventory, status, and identity deletion. Done means custom identities retain required runtime permissions, escalation and ownership collisions are rejected, drift is reported, cleanup removes only owned resources, and negative tests show no general Kubernetes API access.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Part of the Service Identity work (#38), feature 8 in its inventory.
Goal
Allow a generated application-identity ServiceAccount to run the platform execution host without granting broader Kubernetes authority.
Review against the Fiberd overhaul before fixing exact role names or Pod topology.
Requirements
- Replacing a default execution-host ServiceAccount with a provider-generated account must not break required platform permissions.
- Core, not cloud-provider code, owns the necessary Kubernetes RBAC.
- Reuse narrowly scoped platform roles rather than synthesizing broad rules from provider input.
- The initial specification uses deterministic namespaced RoleBinding and ClusterRoleBinding resources referencing existing Home roles; the namespace role is restricted to the intended namespace resource name.
- Treat those objects as a starting design, not a commitment if the new Fiberd model removes or changes the permissions.
- Require exact role references, expected namespace, and a single intended ServiceAccount subject.
- Never accept provider-returned arbitrary Role/ClusterRole/binding resources or an input role reference that permits escalation.
- Validate ownership/name collisions before cloud mutation where possible.
- Track generated ServiceAccount and bindings in owned inventory; surface missing/drifted objects in status and remove them on identity deletion/uninstall.
- Initial namespace scope may be default-only if that matches existing product support; fail clearly instead of applying partially in unsupported namespaces.
Acceptance
- Custom identity ServiceAccount supports the required runtime/platform lifecycle.
- Foreign subjects/roles, broad permissions, and ownership collisions are rejected.
- Status identifies the exact missing binding; cleanup removes only owned resources.
- Negative tests prove application identity does not acquire general Kubernetes API access.
Coordinate with provider identity #24, projection #26, and inventory #31. Implementation must follow the new Fiberd permission model.
- 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