allow(nextcloud): egress to localai

This commit is contained in:
nold 2024-06-21 09:40:53 +02:00
parent 618c22f1e5
commit d1fc5c1026
2 changed files with 20 additions and 0 deletions

View file

@ -5,6 +5,7 @@ config:
- internet
rules:
- allow-minio
- allow-localai
labels:
environment: external

View file

@ -141,3 +141,22 @@ networkPolicy:
- namespaceSelector:
matchLabels:
app.heqet.gnu.one/project: argocd
# Allow access to internet proxy
allow-localai:
podSelector: {}
policyTypes:
- Egress
egress:
- ports:
- port: 80
protocol: TCP
- port: 8080
protocol: TCP
to:
- podSelector:
matchLabels:
app.kubernetes.io/name: local-ai
- namespaceSelector:
matchLabels:
app.heqet.gnu.one/project: ai