startup: accept longhorn checklist responses 200 or 302

This commit is contained in:
Brad Stein 2026-04-07 14:31:16 -03:00
parent 00a2528908
commit 22c581b24d
4 changed files with 4 additions and 8 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

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