37 lines
812 B
YAML
37 lines
812 B
YAML
|
|
apiVersion: cilium.io/v2
|
||
|
|
kind: CiliumNetworkPolicy
|
||
|
|
metadata:
|
||
|
|
name: stalwart-relay
|
||
|
|
namespace: stalwart
|
||
|
|
spec:
|
||
|
|
endpointSelector:
|
||
|
|
matchLabels:
|
||
|
|
app.kubernetes.io/name: stalwart
|
||
|
|
app.kubernetes.io/instance: stalwart
|
||
|
|
ingress:
|
||
|
|
- fromEntities:
|
||
|
|
- ingress
|
||
|
|
toPorts:
|
||
|
|
- ports:
|
||
|
|
- port: "8082"
|
||
|
|
protocol: TCP
|
||
|
|
- fromEntities:
|
||
|
|
- host
|
||
|
|
- remote-node
|
||
|
|
- world
|
||
|
|
toPorts:
|
||
|
|
- ports:
|
||
|
|
- port: "8443"
|
||
|
|
protocol: TCP
|
||
|
|
- port: "25"
|
||
|
|
protocol: TCP
|
||
|
|
- port: "465"
|
||
|
|
protocol: TCP
|
||
|
|
- port: "993"
|
||
|
|
protocol: TCP
|
||
|
|
- fromEntities:
|
||
|
|
- cluster
|
||
|
|
toPorts:
|
||
|
|
- ports:
|
||
|
|
- port: "587"
|
||
|
|
protocol: TCP
|