mirror of
https://github.com/rubenhensen/k8scd.git
synced 2026-11-16 14:29:09 +01:00
gatus: expect the authentik redirect for Longhorn
Longhorn now sits behind an authentik login on the Gateway instead of nginx basic auth, so the check expects a 302 without following it. Same change for s1 on node001.
This commit is contained in:
1 parent
1f04831a97
commit
0a810817b6
2 files changed
+12
-7
No files matched your search
+4
-2
@@ -69,9 +69,11 @@ endpoints:
|
||||
group: rubenhensen.nl
|
||||
url: https://longhorn.rubenhensen.nl
|
||||
interval: 60s
|
||||
# Behind basic auth, so 401 means it's up
|
||||
# Envoy sends visitors to authentik first, so a redirect means it's up
|
||||
client:
|
||||
ignore-redirect: true
|
||||
conditions:
|
||||
- "[STATUS] == 401"
|
||||
- "[STATUS] == 302"
|
||||
- "[CERTIFICATE_EXPIRATION] > 168h"
|
||||
- name: serpbear
|
||||
group: rubenhensen.nl
|
||||
|
||||
Reference in new issue
Block a user