Limit a service binding to the Service it binds

Abierto
#42 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 4 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
58/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
kubernetes, rust

Línea de trabajo

Start by locating the binding target validation in ly deploy and the helper that applies hyperlight-unikraft's NetworkPolicy::Filter. Trace how Lampyr Services are identified and how the filter matches names and port 80, then check the related work in issue #19. Done means bindings can reach only their target Lampyr Service and deployment rejects targets that are not Lampyr Services; the issue names no tests.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

a-needs-info

A Fiber with any binding may connect, on any port, to whatever addresses the bound
names resolve to. Lampyr Services resolve to Kourier's shared internal gateway, so
one binding reaches every Knative Service in the cluster by setting the Host
header. A binding target is only checked to be a DNS label, so it can also name
kubernetes or a headless Service. Restrict a binding to its Service: the helper
filters by name and port 80 (hyperlight-unikraft's NetworkPolicy::Filter), and
ly deploy refuses targets that are not Lampyr Services. Feeds #19's
binding-derived policy.

Lenguaje dominante
Rust
Estrellas
3
Forks
2
Merge medio
3 d 57 min
PR fusionados (30 d)
17

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de hyperlight-dev/lampyr

Todos los issues de hyperlight-dev/lampyr

Issues similares

Más issues de Rust

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.