Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion apps/backend/network-policy.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Only the in-cluster callers may reach the backend (RFC v3 §12): the admin
# dashboard and the website (tRPC, esign agent proxy), the Telegram bot (tRPC
# and its socket) and the IdP (access-changed events on /internal/events).
# and its socket), the IdP (access-changed events on /internal/events) and
# Uptime Kuma (health monitoring).
# Nothing reaches it from outside the cluster since the Ingress was removed.
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
Expand Down Expand Up @@ -38,6 +39,12 @@ spec:
podSelector:
matchLabels:
app: auth
- namespaceSelector:
matchLabels:
kubernetes.io/metadata.name: uptime-kuma
podSelector:
matchLabels:
app: uptime-kuma
ports:
- port: 3000
protocol: TCP
Loading