Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8fa5053aef | ||
|
|
41e894f79e |
@@ -52,6 +52,20 @@ spec:
|
|||||||
port: 8080
|
port: 8080
|
||||||
- protocol: TCP
|
- protocol: TCP
|
||||||
port: 9000
|
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)
|
# Allow intra-namespace (pod-to-pod within llm-serving)
|
||||||
- from:
|
- from:
|
||||||
- podSelector:
|
- podSelector:
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ spec:
|
|||||||
- name: AI_PROVIDER
|
- name: AI_PROVIDER
|
||||||
value: "custom"
|
value: "custom"
|
||||||
- name: CUSTOM_BASE_URL
|
- name: CUSTOM_BASE_URL
|
||||||
value: "http://api-gateway.api.svc.cluster.local:8080/v1"
|
value: "http://reasoning-predictor.llm-serving.svc.cluster.local:80/v1"
|
||||||
- name: CUSTOM_API_KEY
|
- name: CUSTOM_API_KEY
|
||||||
value: "not-required"
|
value: "not-required"
|
||||||
- name: CUSTOM_MODEL
|
- name: CUSTOM_MODEL
|
||||||
|
|||||||
Reference in New Issue
Block a user