Bug 1128242 - [RFE] Support authenticated urls for health checks
Summary: [RFE] Support authenticated urls for health checks
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: RFE
Version: 3.1.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Derek Carr
QA Contact: DeShuai Ma
URL:
Whiteboard:
: 1378496 (view as bug list)
Depends On:
Blocks: 1129405
TreeView+ depends on / blocked
 
Reported: 2014-08-08 16:38 UTC by Eric Rich
Modified: 2021-08-30 13:56 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-01-22 16:31:54 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 1164113 0 None None None 2017-01-19 23:45:37 UTC

Description Eric Rich 2014-08-08 16:38:40 UTC
Description of problem:

HAProxy to allow for http://cbonte.github.io/haproxy-dconv/configuration-1.4.html#option httpchk to provide auth credentials to the endpoint its checking.

How reproducible: Very

Steps to Reproduce:
1. Complete https://www.openshift.com/kb/kb-e1044-how-to-redirect-traffic-to-https for a scaled application. 

Actual results:

HA-Proxy will not be able to access the / endpoint because it needs to authenticate. 

Expected results:

HAProxy should be able to be configured so that it could authentication with the / resource. 

Additional info:

Another way to resolve this issue is by having https://issues.jboss.org/browse/JBPAPP-11176 allow you to exclude endpoints.

Comment 2 Dan McPherson 2016-04-13 17:21:43 UTC
For v3 this should apply to liveness and readiness checks.

Comment 3 Dan McPherson 2016-09-22 14:59:14 UTC
*** Bug 1378496 has been marked as a duplicate of this bug. ***

Comment 7 Aleksandar Kostadinov 2017-08-31 17:56:05 UTC
FYI also generating a basic auth header is possible. I'm using it in one deployment.


Note You need to log in before you can comment on or make changes to this bug.