1
0
forked from k-space/kube

wildduck: Add network policies for ZoneMTA and webmail

This commit is contained in:
2023-09-17 11:52:52 +03:00
parent a0d48d4243
commit efc76d7a10
2 changed files with 39 additions and 3 deletions

View File

@@ -140,3 +140,18 @@ spec:
- name: cert
secret:
secretName: wildduck-tls
---
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: zonemta
spec:
podSelector:
matchLabels:
app.kubernetes.io/name: wildduck
app.kubernetes.io/component: zonemta
policyTypes:
- Ingress
ingress:
- ports:
- port: 9465