Allow additional routes in entrypoint
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Stack tecnológico
- docker-compose, shell
- Área
- devops, infrastructure
Línea de trabajo
Start with the entrypoint and its jq_write handling, then inspect how the Caddyfile and docker-compose.override.yaml are used to configure routes. Define and implement a supported way to add routes or proxy configuration, including any variable templating, while preserving the default OpenSlides routes.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Currently, the proxy is only configurable for default openslides.
In my use case, I use SaToSa (https://github.com/IdentityPython/SATOSA) to proxy SAML to OIDC, for which I need a subdomain (satosa.openslides.example.com) route to get the traffic to a container inserted via an dockre-compose.override.yaml.
That functionality would be a nice addition to the openslides-proxy, as configuring additional tools into the landscape of microservices of OS does not sound very "dirty hack" to me.
As merging configs seems to be only possible with Caddyfile, not already computed json, configuring a fixed/per-variable merge/append directory for the entrypoint looks like the viable solution?
I'd think either:
- ADDITIONAL_PROXY_CONFIG with a path (mounted into the container) to just feed line-by-line to
jq_writeat the end of the entrypoint - ADDITIONAL_PROXY_CONFIGS with an array doing the same as above (although arrays are icky in bash)
- ADDITIONAL_PROXY_ROUTES of just raw json to append to
".apps.http.servers.srv0.routes. Possibly appended early so the entrypoint can template the variables in there.
What do you think?
- Lenguaje dominante
- Shell
- Estrellas
- 0
- Forks
- 11
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Sin plantilla de pull request
- Sin 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 OpenSlides/openslides-proxy
-
Uniform logging schemaQuizá libre de nuevo @peb-adr la tomó hace 272 días y no hay ningún pull request abierto. Abiertofeature
OpenSlides/openslides-proxy#32 · 1 asignado ·
-
Adjust health routeAbiertoenhancement low
Dificultad 2/5 1-3 horas Aptitud para principiantes 45/100
-
enhancement low needs discussion
Dificultad 4/5 3-5 días Aptitud para principiantes 30/100
Todos los issues de OpenSlides/openslides-proxy
Issues similares
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 92/100
Los mantenedores suelen responder en 1 día
-
[Resource]: Valpas Keep AwakeAbiertoresource-submission validation-passed
Dificultad 1/5 Menos de una hora Aptitud para principiantes 67/100
hesreallyhim/awesome-claude-code#3264 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
area: install bug good first issue hacktoberfest
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 3 días
-
Good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
armbian/build#11107 · 2 comentarios ·
Los mantenedores suelen responder en 1 día