Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions docs/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -412,6 +412,35 @@ paths:
"401": { description: tenant context missing }
"413": { description: body exceeds 4 KiB cap }

/v1/onboarding/preflight:
post:
tags: [onboarding]
summary: Cluster pre-flight checks before `helm install`.
description: |
Runs the K8s version + Prometheus reachability + RBAC + provisioner
detection + namespace count checks against the candidate cluster.
Returns a list of Check rows the install-wizard renders as a
preview "this is what Optiqor will do" page. Phase 5 reduces
support load 5-10x by surfacing the misconfiguration before the
operator runs `helm install`.
security:
- tenantHeader: []
- bearerAuth: []
- sessionCookie: []
requestBody:
required: false
content:
application/json:
schema: { type: object, additionalProperties: true }
responses:
"200":
description: preflight check list
content:
application/json:
schema: { type: object, additionalProperties: true }
"401": { description: tenant context missing }
"413": { description: body exceeds 4 KiB cap }

/oauth/github/callback:
get:
tags: [webhooks]
Expand Down
Loading