20 lines
513 B
YAML
20 lines
513 B
YAML
apiVersion: cilium.io/v2
|
|
kind: CiliumClusterwideNetworkPolicy
|
|
metadata:
|
|
name: stalwart-gw-egress
|
|
spec:
|
|
endpointSelector:
|
|
matchLabels:
|
|
"reserved:ingress": ""
|
|
egress:
|
|
- toEndpoints:
|
|
- matchLabels:
|
|
k8s:io.kubernetes.pod.namespace: stalwart
|
|
app.kubernetes.io/name: stalwart
|
|
app.kubernetes.io/instance: stalwart
|
|
toPorts:
|
|
- ports:
|
|
- port: "8080"
|
|
protocol: TCP
|
|
- port: "8082"
|
|
protocol: TCP
|