Skip to content

Instantly share code, notes, and snippets.

@ams0
Last active December 11, 2020 11:50
Show Gist options
  • Save ams0/7eca3529dad8576ca2bf10b8636ca8dd to your computer and use it in GitHub Desktop.
Save ams0/7eca3529dad8576ca2bf10b8636ca8dd to your computer and use it in GitHub Desktop.
apiVersion: crd.projectcalico.org/v1
kind: GlobalNetworkPolicy
metadata:
name: default-deny
spec:
selector: all()
types:
- Egress
egress:
- action: Deny
destination:
nets:
- 169.254.169.254/32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment