Kibana health check through API endpoint doesn't work anymore
Issue
We're trying to monitor the kibana service (as we used to do in previous versoins) and the problem is when we try to curl the URL, we get the redirect response to the login page:
$ curl -k -H "Authorization: Bearer $(oc whoami -t)" -H "X-Proxy-Remote-User: $(oc whoami)" -H "X-Forwarded-For: 127.0.0.1" https://kibana.redhat.com/api/status -v
< HTTP/1.1 302 Found
< Content-Type: text/html; charset=utf-8
[...]
<a href="https://kibana.redhat.com/oauth/authorize?approval_prompt=force&client_id=kibana-proxy&redirect_uri=https%3A%2F%2Fkibana.redhat.com%2Foauth%2Fcallback&response_type=code&scope=user%3Ainfo+user%3Acheck-access+user%3Alist-projects&state=757a6a76a8fd047ce76c9552861a8504%3A%2Fapi%2Fstatus">Found</a>.
Environment
OCP 3.11
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.