osint: pin app image to amd64-6066ac8e0d6c (PR #71 openapi adminSession scheme) #53

Merged
sirius merged 1 commit from osint/pin-openapi-6066ac8 into master 2026-11-27 05:41:22 +00:00
Owner

Summary

Pins osint/app-deployment.yaml (both the wait-for-db initContainer and the app container) to forgejo.siriusdevops.com/sirius/osint-dashboard:amd64-6066ac8e0d6c — the CI build of sirius/osint-dashboard merge commit 6066ac8e0d6c (PR #71, fix/openapi-admin-security).

  • CI run: build-and-deploy run 1420 / task 1978, job build-push success.
  • Registry digest for the tag: sha256:bf5f3d4ffbb7ae8cbe54fcf5f5b81cd5a1815d8abf9e042c2804f5a2d207ae6c (manifest v2, 200).
  • Path filter: PR #71 touched only app/ + tests/, so only the app image was rebuilt. camera-deployment.yaml / ingester-deployment.yaml keep their existing tags — amd64-6066ac8e0d6c does not exist for any other image and must not be applied to them.

Why

F17: the live /openapi.json advertised no components.securitySchemes while AdminAuthMiddleware enforced the osint_session cookie on every mutating operation. The code fix (PR #71) makes the spec publish adminSession and stamp security on every documented operation; it has no effect until the image is rolled.

Verification after Flux rolls

  • curl -s https://osint.siriusdevops.com/openapi.json declares adminSession (apiKey, in=cookie, name=osint_session) and 0 operations missing security.
  • Anonymous PUT /api/settings still 401 {"detail":"admin authentication required"}.
  • /, /docs, /api/stats, /api/health, /api/aircraft unchanged/public.
## Summary Pins `osint/app-deployment.yaml` (both the `wait-for-db` initContainer and the `app` container) to `forgejo.siriusdevops.com/sirius/osint-dashboard:amd64-6066ac8e0d6c` — the CI build of `sirius/osint-dashboard` merge commit `6066ac8e0d6c` (PR #71, `fix/openapi-admin-security`). - CI run: `build-and-deploy` run 1420 / task 1978, job `build-push` success. - Registry digest for the tag: `sha256:bf5f3d4ffbb7ae8cbe54fcf5f5b81cd5a1815d8abf9e042c2804f5a2d207ae6c` (manifest v2, 200). - Path filter: PR #71 touched only `app/` + `tests/`, so only the app image was rebuilt. `camera-deployment.yaml` / `ingester-deployment.yaml` keep their existing tags — `amd64-6066ac8e0d6c` does not exist for any other image and must not be applied to them. ## Why F17: the live `/openapi.json` advertised no `components.securitySchemes` while `AdminAuthMiddleware` enforced the `osint_session` cookie on every mutating operation. The code fix (PR #71) makes the spec publish `adminSession` and stamp `security` on every documented operation; it has no effect until the image is rolled. ## Verification after Flux rolls - `curl -s https://osint.siriusdevops.com/openapi.json` declares `adminSession` (apiKey, in=cookie, name=osint_session) and 0 operations missing `security`. - Anonymous `PUT /api/settings` still `401 {"detail":"admin authentication required"}`. - `/`, `/docs`, `/api/stats`, `/api/health`, `/api/aircraft` unchanged/public.
The FastAPI app now publishes components.securitySchemes.adminSession
(apiKey/in:cookie/osint_session) and stamps security on every documented
operation from auth.is_public(). Merged as 6066ac8e0d6c in
sirius/osint-dashboard (PR #71); CI pushed
forgejo.siriusdevops.com/sirius/osint-dashboard:amd64-6066ac8e0d6c
(digest sha256:bf5f3d4ffbb7ae8cbe54fcf5f5b81cd5a1815d8abf9e042c2804f5a2d207ae6c).

The live /openapi.json keeps advertising no securitySchemes until this tag
is running, which is what F17 flagged.
sirius merged commit 9822647bf9 into master 2026-11-27 05:41:22 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
sirius/homek8s!53
No description provided.