wildduck: Add network policies for ZoneMTA and webmail
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user