We started using oauth2-proxy as external authentication for some of our cluster infrastructure components.
Our cluster is using the ingress-nginx controller and the Ingress resources are configured following this guide here to use the external authentication.
Now my problem is that we use StatusCake to monitor uptime for the infrastructure components. It works when using basic authentication, but I have no idea how to configure it to report correctly when the component is behind the oauth2 authentication.
I was thinking to maybe exclude one path from external authentication (e.g. health check), but I cannot find any options to do so.
Another option would be to have an extra ingress for only a certain path, which seems overkill.
Any ideas?