# The startSession API sets up a long running SSE tunnel. # If we used the default edge-api Mapping the connection would drop after 1 # minute due to the timout_ms set on that mapping. Create a new mapping limited # to the single route /api/ea/startSession with a 15 minute idle timeout and no # end-to-end timeout (timeout_ms: 0). The mapping must be the same as the # edge-api mapping for all other fields as we still expect the endpoint to be # proxied through the auth-proxy. apiVersion: getambassador.io/v3alpha1 kind: Mapping metadata: name: eagateway spec: service: auth-proxy.auth-proxy:80 hostname: ${domain} prefix: /api/ea/startSession idle_timeout_ms: 900000 rewrite: "" timeout_ms: 0