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, }, },