61 lines
1.5 KiB
YAML
61 lines
1.5 KiB
YAML
|
|
apiVersion: cilium.io/v2
|
||
|
|
kind: CiliumNetworkPolicy
|
||
|
|
metadata:
|
||
|
|
name: mta-sts
|
||
|
|
namespace: mta-sts
|
||
|
|
spec:
|
||
|
|
endpointSelector:
|
||
|
|
matchLabels:
|
||
|
|
app.kubernetes.io/name: mta-sts
|
||
|
|
app.kubernetes.io/instance: mta-sts
|
||
|
|
ingress:
|
||
|
|
- fromEntities:
|
||
|
|
- host
|
||
|
|
toPorts:
|
||
|
|
- ports:
|
||
|
|
- port: "8080"
|
||
|
|
protocol: TCP
|
||
|
|
- fromEndpoints:
|
||
|
|
- matchLabels:
|
||
|
|
k8s:io.kubernetes.pod.namespace: cloudflare-tunnel
|
||
|
|
app.kubernetes.io/name: cloudflared
|
||
|
|
app.kubernetes.io/instance: cloudflare-tunnel
|
||
|
|
toPorts:
|
||
|
|
- ports:
|
||
|
|
- port: "8080"
|
||
|
|
protocol: TCP
|
||
|
|
---
|
||
|
|
apiVersion: cilium.io/v2
|
||
|
|
kind: CiliumClusterwideNetworkPolicy
|
||
|
|
metadata:
|
||
|
|
name: host-egress-mta-sts-probes
|
||
|
|
spec:
|
||
|
|
nodeSelector: {}
|
||
|
|
egress:
|
||
|
|
- toEndpoints:
|
||
|
|
- matchLabels:
|
||
|
|
k8s:io.kubernetes.pod.namespace: mta-sts
|
||
|
|
app.kubernetes.io/name: mta-sts
|
||
|
|
app.kubernetes.io/instance: mta-sts
|
||
|
|
toPorts:
|
||
|
|
- ports:
|
||
|
|
- port: "8080"
|
||
|
|
protocol: TCP
|
||
|
|
---
|
||
|
|
apiVersion: cilium.io/v2
|
||
|
|
kind: CiliumClusterwideNetworkPolicy
|
||
|
|
metadata:
|
||
|
|
name: host-ingress-mta-sts-probe-replies
|
||
|
|
spec:
|
||
|
|
nodeSelector: {}
|
||
|
|
ingress:
|
||
|
|
- fromEndpoints:
|
||
|
|
- matchLabels:
|
||
|
|
k8s:io.kubernetes.pod.namespace: mta-sts
|
||
|
|
app.kubernetes.io/name: mta-sts
|
||
|
|
app.kubernetes.io/instance: mta-sts
|
||
|
|
toPorts:
|
||
|
|
- ports:
|
||
|
|
- port: "32768"
|
||
|
|
endPort: 60999
|
||
|
|
protocol: TCP
|