Skip to content

Instantly share code, notes, and snippets.

@AlperRehaYAZGAN
Created October 9, 2023 21:41
Show Gist options
  • Save AlperRehaYAZGAN/5a1f0e896237704cf0d3bcbf351f32dc to your computer and use it in GitHub Desktop.
Save AlperRehaYAZGAN/5a1f0e896237704cf0d3bcbf351f32dc to your computer and use it in GitHub Desktop.
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: allow-egress
spec:
podSelector: {} # Tüm pod'ları seç
egress:
- to:
- ipBlock:
cidr: 0.0.0.0/0 # Tüm IP adreslerine çıkış izni ver
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment