From 22c581b24d436b749b73772f660f95d5ce9514bf Mon Sep 17 00:00:00 2001 From: Brad Stein Date: Tue, 7 Apr 2026 14:31:16 -0300 Subject: [PATCH] startup: accept longhorn checklist responses 200 or 302 --- configs/ananke.example.yaml | 3 +-- configs/ananke.tethys.yaml | 3 +-- configs/ananke.titan-db.yaml | 3 +-- internal/config/config.go | 3 +-- 4 files changed, 4 insertions(+), 8 deletions(-) diff --git a/configs/ananke.example.yaml b/configs/ananke.example.yaml index 2776007..fbfe2e5 100644 --- a/configs/ananke.example.yaml +++ b/configs/ananke.example.yaml @@ -101,8 +101,7 @@ startup: timeout_seconds: 12 - name: longhorn-auth url: https://longhorn.bstein.dev/ - accepted_statuses: [302] - body_contains: openid-connect/auth + accepted_statuses: [200, 302] timeout_seconds: 12 require_flux_health: true flux_health_wait_seconds: 900 diff --git a/configs/ananke.tethys.yaml b/configs/ananke.tethys.yaml index 6d6208c..d9cd66d 100644 --- a/configs/ananke.tethys.yaml +++ b/configs/ananke.tethys.yaml @@ -167,8 +167,7 @@ startup: timeout_seconds: 12 - name: longhorn-auth url: https://longhorn.bstein.dev/ - accepted_statuses: [302] - body_contains: openid-connect/auth + accepted_statuses: [200, 302] timeout_seconds: 12 require_flux_health: true flux_health_wait_seconds: 900 diff --git a/configs/ananke.titan-db.yaml b/configs/ananke.titan-db.yaml index 70b7ad4..160df6e 100644 --- a/configs/ananke.titan-db.yaml +++ b/configs/ananke.titan-db.yaml @@ -167,8 +167,7 @@ startup: timeout_seconds: 12 - name: longhorn-auth url: https://longhorn.bstein.dev/ - accepted_statuses: [302] - body_contains: openid-connect/auth + accepted_statuses: [200, 302] timeout_seconds: 12 require_flux_health: true flux_health_wait_seconds: 900 diff --git a/internal/config/config.go b/internal/config/config.go index a539498..fafd817 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -509,8 +509,7 @@ func defaults() Config { { Name: "longhorn-auth", URL: "https://longhorn.bstein.dev/", - AcceptedStatuses: []int{302}, - BodyContains: "openid-connect/auth", + AcceptedStatuses: []int{200, 302}, TimeoutSeconds: 12, }, },