Clear Web UI session on 401 and keep API/Ingress errors as JSON.
Include the missing resource id in not-found messages, expire auth to Guest after 401, and document Ingress annotations so nginx does not rewrite 404/405 bodies into branded HTML.
This commit is contained in:
@@ -35,6 +35,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: os-sim.example.com
|
||||
paths:
|
||||
|
||||
Reference in New Issue
Block a user