Keep API not-found and 401 responses usable behind Ingress and in the Web UI.

Return native JSON with the missing id in the message, clear stale sessions on
401, and document ingress-nginx annotations so branded HTML 404/405 pages do
not rewrite simulator bodies.
This commit is contained in:
2026-07-22 06:52:35 +03:00
parent 131e2e63d2
commit e8b08526d1
13 changed files with 260 additions and 62 deletions
@@ -32,6 +32,13 @@ seed:
ingress:
enabled: true
className: nginx
# Keep API JSON bodies (404/405/401). Cluster-wide custom-http-errors HTML
# pages must not rewrite simulator error responses.
annotations:
nginx.ingress.kubernetes.io/proxy-intercept-errors: "false"
# If the controller still injects branded HTML for 404/405, narrow or clear
# custom-http-errors on this Ingress (overrides controller defaults):
nginx.ingress.kubernetes.io/custom-http-errors: "502,503"
hosts:
- host: vmware-sim.example.com
paths: