Files
homelab/k8s/apps
rock a41346bf33 Configure paperless-ai with JWT token fetching and proper LLM API setup
- Add init container to fetch JWT token from Authentik at pod startup
- Use token for LLM API calls via public gateway (https://api.riotpiao.com/v1)
- Mount PVC for persistent configuration storage
- Update LLM model to qwen2.5:3b-instruct (faster, smaller)
- Reduce scan interval from 300s to 60s for faster testing
- Enable document descriptions via AI_DESCRIPTIONS env var

The init container:
- Fetches JWT via client_credentials grant using paperless-ai-agent credentials
- Stores token in /app/data/llm_token.txt for paperless-ai to read at runtime
- Token has llm:inference claim embedded for gateway authorization
2026-09-14 22:23:53 +09:00
..