mirror of
https://github.com/nold360/hive-apps
synced 2024-12-22 04:21:22 +00:00
allow(nextcloud): egress to localai
This commit is contained in:
parent
618c22f1e5
commit
d1fc5c1026
2 changed files with 20 additions and 0 deletions
|
@ -5,6 +5,7 @@ config:
|
|||
- internet
|
||||
rules:
|
||||
- allow-minio
|
||||
- allow-localai
|
||||
|
||||
labels:
|
||||
environment: external
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue