feat: MetaKavita fills in Kavita's metadata #200

Merged
ivuorinen merged 7 commits from ivuorinen/feat/metakavita into main 2026-10-28 06:38:42 +00:00 AGit
Owner

SESSION_COOKIE_SECURE and TRUSTED_PROXY_COUNT are read at every start and have no setting in MetaKavita, so they live only in the manifest; the rest only seed config.json. A test keeps the session cookie HTTPS-only.

SESSION_COOKIE_SECURE and TRUSTED_PROXY_COUNT are read at every start and have no setting in MetaKavita, so they live only in the manifest; the rest only seed config.json. A test keeps the session cookie HTTPS-only.
MetaKavita in its own Application and namespace, reaching Kavita's web port through a NetworkPolicy rule and never copyparty's. It fills each new series automatically after Kavita's scan, behind forward-auth for Authentik admins, with its own login and a Kavita Auth key of its own. Its core scrapers follow upstream's default and refresh from GitHub at every start, which the spec records as outside the image pin.
One Deployment shaped like Kavita's, a Service, a default-group PVC and
a NetworkPolicy that admits Traefik only. Memory, probe timeouts and the
startup budget come from the local measurement (plan Task 1).

Besides the four seeds in the spec, the Deployment seeds
BOOK_PROVIDER_3=NONE: Babelio stopped answering this network during the
measurement, its scraper blocks the single eventlet worker, and the
persistent queue restarted the same series after every worker kill.
MetaKavita writes metadata through Kavita's API on port http. It never reaches copyparty's upload port, where the identity header is believed from the pod network.
MetaKavita is reached at metakavita.t.9b11.xyz behind forward-auth, admitting Authentik admins only. /healthz skips forward-auth so Gatus can see the pod; two tests hold the routes, the outpost entry and the binding, since that check cannot.
First start with its own Auth key, automatic metadata, provider keys, the series-that-never-finishes symptom and its fix, the scraper code it fetches at start, revoking its key, and emptying its log.
fix(metakavita): say which variables are read at every start
All checks were successful
validate / render (pull_request) Successful in 2m16s
validate / hooks (pull_request) Successful in 3m44s
b1326c51d7
SESSION_COOKIE_SECURE and TRUSTED_PROXY_COUNT are read at every start and have no setting in MetaKavita, so they live only in the manifest; the rest only seed config.json. A test keeps the session cookie HTTPS-only.
Sign in to join this conversation.
No reviewers
No labels
No milestone
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
ivuorinen/turingpi-cluster!200
No description provided.