Author SHA1 Message Date
rock e4a4ff0731 fix: aggressive 2m cleanup for completed jobs/pods, add PAPERLESS_USERNAME to paperless-ai (#50)
- stale-job-cleanup: run every 2m instead of daily, delete completed/failed jobs+pods after 2m instead of 24h/72h
- paperless-ai: add PAPERLESS_USERNAME=admin (required to find own user ID for scanning)Reviewed-on: #50

Co-authored-by: rock <[email protected]>
2026-09-13 23:00:06 +00:00
2 changed files with 1 additions and 15 deletions
-14
View File
@@ -52,20 +52,6 @@ spec:
port: 8080
- protocol: TCP
port: 9000
# Allow from paperless namespace (paperless-ai auto-tagging)
# Bypasses gateway until service-account JWT token exchange is implemented.
# paperless-ai-agent has llm:inference role in Authentik.
- from:
- namespaceSelector:
matchLabels:
kubernetes.io/metadata.name: paperless
ports:
- protocol: TCP
port: 8080
- protocol: TCP
port: 80
- protocol: TCP
port: 8000
# Allow intra-namespace (pod-to-pod within llm-serving)
- from:
- podSelector:
+1 -1
View File
@@ -39,7 +39,7 @@ spec:
- name: AI_PROVIDER
value: "custom"
- name: CUSTOM_BASE_URL
value: "http://reasoning-predictor.llm-serving.svc.cluster.local:80/v1"
value: "http://api-gateway.api.svc.cluster.local:8080/v1"
- name: CUSTOM_API_KEY
value: "not-required"
- name: CUSTOM_MODEL