Commit b1c9db82 authored by godog's avatar godog
Browse files

ai3-prober: don't follow redirect and add http probe

Also expect '401' from authenticated (non-sso) services like
backup/rest-server.
parent 13c2830f
Pipeline #14807 passed with stage
in 24 seconds
...@@ -29,15 +29,28 @@ modules: ...@@ -29,15 +29,28 @@ modules:
prober: http prober: http
timeout: 5s timeout: 5s
http: http:
valid_status_codes: [200, 301, 302, 307] valid_status_codes: [200, 301, 302, 307, 401]
method: GET method: GET
fail_if_ssl: false fail_if_ssl: false
fail_if_not_ssl: true fail_if_not_ssl: true
preferred_ip_protocol: ip4 preferred_ip_protocol: ip4
no_follow_redirects: true
tls_config: tls_config:
ca_file: /etc/ssl/certs/ca-certificates.crt ca_file: /etc/ssl/certs/ca-certificates.crt
insecure_skip_verify: false insecure_skip_verify: false
# Generic (enforced) http
http:
prober: http
timeout: 5s
http:
valid_status_codes: [200, 301, 302, 307]
method: GET
fail_if_ssl: true
fail_if_not_ssl: false
preferred_ip_protocol: ip4
no_follow_redirects: true
# Standard protocol-oriented probes. # Standard protocol-oriented probes.
imap_starttls: imap_starttls:
prober: tcp prober: tcp
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment