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
|
- internet
|
||||||
rules:
|
rules:
|
||||||
- allow-minio
|
- allow-minio
|
||||||
|
- allow-localai
|
||||||
|
|
||||||
labels:
|
labels:
|
||||||
environment: external
|
environment: external
|
||||||
|
|
|
@ -141,3 +141,22 @@ networkPolicy:
|
||||||
- namespaceSelector:
|
- namespaceSelector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app.heqet.gnu.one/project: argocd
|
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