22 lines
517 B
YAML
22 lines
517 B
YAML
apiVersion: cilium.io/v2
|
|
kind: CiliumNetworkPolicy
|
|
metadata:
|
|
name: litellm-ingress-from-agents
|
|
namespace: ai-core
|
|
spec:
|
|
endpointSelector:
|
|
matchLabels:
|
|
app.kubernetes.io/name: litellm
|
|
ingress:
|
|
- fromEndpoints:
|
|
- matchExpressions:
|
|
- key: io.kubernetes.metadata.namespace
|
|
operator: In
|
|
values:
|
|
- ai-agents-gumbo
|
|
- ai-agents-bernard
|
|
toPorts:
|
|
- ports:
|
|
- port: "4000"
|
|
protocol: TCP
|