diff --git a/manifests/nearle/nearle-fiesta.yaml b/manifests/nearle/nearle-fiesta.yaml index 739f28b..aee1d8e 100644 --- a/manifests/nearle/nearle-fiesta.yaml +++ b/manifests/nearle/nearle-fiesta.yaml @@ -47,7 +47,7 @@ spec: app: fiesta containers: - name: backend - image: nearlecommerce/fiesta:v1.3.78 + image: nearlecommerce/fiesta:v1.3.90 imagePullPolicy: Always securityContext: allowPrivilegeEscalation: false @@ -144,20 +144,17 @@ spec: hostnames: - "fiesta.nearle.app" rules: - - matches: - - path: - type: PathPrefix - value: /live/api/v1/mob/orders/createorder - backendRefs: - - name: fiesta - port: 8000 - - matches: - - path: - type: PathPrefix - value: /live/api/v1/web/products/create - backendRefs: - - name: fiesta - port: 8000 + # mob/orders/createorder and web/products/create used to be routed to the + # NATS gateway sidecar (port 8000, ConfigMap fiesta-gateway-script). That + # sidecar publishes onto the shared "ORDERS"/"PRODUCTS" NATS subjects, + # whose only consumer (worker-orders/worker-products in the core namespace) + # has EXTERNAL_BASE_URL hardcoded to jupiter, not this backend. Fiesta has + # no NATS consumer of its own, so every order/product submitted through + # that path was silently created on jupiter (header-only, wrong schema) + # instead of ever reaching CreateOrderv3 here. Both paths are already + # registered directly on this backend (routes/orderroutes.go, + # routes/productroutes.go), so route them straight through synchronously + # via the catch-all rule below instead of overriding them to the sidecar. - matches: - path: type: PathPrefix