3
0
mirror of https://github.com/pragma-/pbot.git synced 2026-02-14 21:38:06 +01:00

Block all egress traffic.

This commit is contained in:
Alex Belanger 2024-03-12 00:42:17 -04:00
parent ee012cf048
commit e6f83b226e
No known key found for this signature in database
GPG Key ID: 31736D2B10A5F158

View File

@ -25,3 +25,14 @@ spec:
limits:
cpu: "0.5"
memory: 200Mi
---
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: default-deny-egress
spec:
podSelector:
matchLabels:
app: candide-vm
policyTypes:
- Egress