haproxy-ingress.github.io/auth-url: "https://<heimdall service name>.<namespace>.svc.cluster.local:<decision port>" (1)
haproxy-ingress.github.io/auth-headers-succeed: "authorization" (2)
haproxy-ingress.github.io/headers: | (3)
X-Forwarded-Uri: %[baseq]
X-Forwarded-Method: %[method]
X-Forwarded-Host: %[req.hdr(host)]
1 | Configures the controller to use heimdall’s decision service endpoint with <heimdall service name> , <namespace> and <decision port> depending on your configuration. | ||
2 | Let HAProxy forward the Authorization header set by heimdall to the upstream service upon successful response. This configuration depends on
your Contextualizers and Finalizers configuration.
| ||
3 | Configures the required headers to pass the information about the used HTTP scheme, host and port, request path and used query parameters to be forwarded to heimdall. X-Forwarded-Proto is not used, as it is already set by HAProxy by default. |