fix(notification): enable web smtp test with saved password

Allow Web SMTP egress on TCP 587 and reuse the saved channel password only when connection settings match.

Ref: IT-1601
This commit is contained in:
2026-10-18 00:17:25 +03:00
parent 121ebbfbcd
commit 2dd5e318d7
9 changed files with 260 additions and 5 deletions
@@ -83,3 +83,32 @@ spec:
ports:
- protocol: TCP
port: 587
---
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: web-to-external-smtp
namespace: shared-notification
spec:
podSelector:
matchLabels:
app.kubernetes.io/component: web
app.kubernetes.io/name: hrynco-shared-notification
app.kubernetes.io/managed-by: hrynco-shared-notification
policyTypes: [Egress]
egress:
- to:
- ipBlock:
cidr: 0.0.0.0/0
except:
- 10.0.0.0/8
- 100.64.0.0/10
- 127.0.0.0/8
- 169.254.0.0/16
- 172.16.0.0/12
- 192.168.0.0/16
- 224.0.0.0/4
- 240.0.0.0/4
ports:
- protocol: TCP
port: 587