fix(netpol): allow api-gateway egress to notifications:80 (Gotify) (#48)
CI / CI (push) Successful in 3m7s

NetworkPolicy was blocking api-gateway → gotify.notifications.svc.cluster.local:80.
Adds egress rule to `notifications` namespace on port 80.

Required for `X-Service: notification` + `X-Resource: send-message` to deliver push notifications through the gateway.

---------

Co-authored-by: Admin Bot <[email protected]>
Reviewed-on: #48
This commit was merged in pull request #48.
This commit is contained in:
2026-09-27 14:13:36 +00:00
co-authored by Admin Bot
parent ef5e736673
commit 0bde5dd8fe
+8
View File
@@ -130,6 +130,14 @@ spec:
ports: ports:
- protocol: TCP - protocol: TCP
port: 8080 port: 8080
# Allow to Gotify (push notifications)
- to:
- namespaceSelector:
matchLabels:
kubernetes.io/metadata.name: notifications
ports:
- protocol: TCP
port: 80
# Allow to MinIO (S3-compatible storage) # Allow to MinIO (S3-compatible storage)
# Service `minio` listens on port 80 (targetPort 9000). # Service `minio` listens on port 80 (targetPort 9000).
# Headless `minio-cluster-hl` is 9000. Allow both. # Headless `minio-cluster-hl` is 9000. Allow both.