fix(netpol): allow api-gateway egress to notifications:80 (Gotify) (#48)
CI / CI (push) Successful in 3m7s
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:
@@ -130,6 +130,14 @@ spec:
|
||||
ports:
|
||||
- protocol: TCP
|
||||
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)
|
||||
# Service `minio` listens on port 80 (targetPort 9000).
|
||||
# Headless `minio-cluster-hl` is 9000. Allow both.
|
||||
|
||||
Reference in New Issue
Block a user