Commit 1d50dff
committed
OCPBUGS-77830: skip redirect when validating endpoint accessibility
The installer uses HTTP HEAD to validate if user-provided service
endpoint URLs are reachable. However, in some cases, the request results
in a redirect to AWS doc URL, which can causes install failure in
disconnected environment. The users should not be required to open
access to AWS docs to install.
For example:
$ curl --head https://sts.ap-southeast-1.amazonaws.com
HTTP/1.1 302 Found
Location: https://aws.amazon.com/iam1 parent a6ba91c commit 1d50dff
1 file changed
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
864 | 864 | | |
865 | 865 | | |
866 | 866 | | |
867 | | - | |
| 867 | + | |
| 868 | + | |
| 869 | + | |
| 870 | + | |
| 871 | + | |
| 872 | + | |
| 873 | + | |
| 874 | + | |
868 | 875 | | |
869 | 876 | | |
| 877 | + | |
| 878 | + | |
870 | 879 | | |
871 | 880 | | |
872 | 881 | | |
| |||
0 commit comments