Skip to content

feat(endpoint-exposer): fetch_httproute, clean_httproute_rules y nuevos specs#16

Open
sebastiancorrea81 wants to merge 20 commits into
mainfrom
feat/endpoint-exposer
Open

feat(endpoint-exposer): fetch_httproute, clean_httproute_rules y nuevos specs#16
sebastiancorrea81 wants to merge 20 commits into
mainfrom
feat/endpoint-exposer

Conversation

@sebastiancorrea81

Copy link
Copy Markdown
Contributor

Resumen

Este branch agrega scripts e infraestructura base que faltan en main:

  • scripts/istio/fetch_httproute — en lugar de construir el HTTPRoute desde cero siempre, primero busca el existente en K8s y lo reutiliza. Hace el update idempotente.
  • scripts/istio/clean_httproute_rules — resetea el HTTPRoute a la regla fallback response-404 antes de reprocesar todas las rutas, evitando reglas huérfanas.
  • templates/istio/empty.yaml.tpl — template alternativo para crear un HTTPRoute vacío de base.
  • specs/service-spec.json.tpl y specs/actions/read.json.tpl — spec del servicio que actualmente solo vive en install/.
  • Actualizaciones a entrypoint, build_context, build_rule, build_ingress_with_rule, process_routes, apply, container-scope-override.

Cambio de paradigma vs main

En main el HTTPRoute siempre se construye desde cero. Este branch introduce el patrón fetch → clean → rebuild, que es más seguro para updates.

Test plan

  • Verificar que fetch_httproute funciona cuando el HTTPRoute ya existe en el cluster
  • Verificar que fetch_httproute crea desde template cuando no existe
  • Verificar que clean_httproute_rules deja solo la regla fallback
  • Verificar que el workflow de create/update completo funciona end-to-end

feat: implement external dns and httproute

feat: change logic to get specification id

feat: add switch for different dns types

feat: add switch for different dns types

feat: add endpoint exposer service specs

feat: add domain editable

feat: add domain editable

feat: implement new route schema

feat: implement new route schema

feat: implement new route schema

feat: implement new route schema

feat: implement new route schema

feat: implement new route schema

fix: get scope

fix: get scope

fix: path

fix: get httproute if exists

fix: get httproute if exists

fix: get httproute rules

feat: implement echo for link and unlink

feat: implement echo for link and unlink

feat: implement echo for link and unlink

feat: implement echo for link and unlink

feat: implement echo for link and unlink

chore: change service slug

feat: update flow

feat: update flow

feat: update flow

feat: update flow

feat: update flow

feat: update flow

feat: update flow

feat: update flow

feat: update flow

feat: accept prefix and reg ex
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants