Skip to content

Instantly share code, notes, and snippets.

View Wolfslicht's full-sized avatar
🥰
The Code of love is love the code!

Wolfgang Schröder Wolfslicht

🥰
The Code of love is love the code!
  • Wolfslicht
  • Switzerland
  • 08:29 (UTC +02:00)
  • X @wolfslicht
View GitHub Profile
@Wolfslicht
Wolfslicht / default-deny.yaml
Last active April 15, 2026 13:30
Kubernetes egress NetworkPolicy via proxy — headless in-cluster tinyproxy or external proxy (CCE-compatible)
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: deny-egress
spec:
podSelector:
matchLabels: {}
policyTypes:
- Egress
egress: []