Skip to content

Instantly share code, notes, and snippets.

@ams0
Created December 9, 2020 16:21
Show Gist options
  • Save ams0/cea7ef0ce579c9a81e01d1ca12618a7e to your computer and use it in GitHub Desktop.
Save ams0/cea7ef0ce579c9a81e01d1ca12618a7e 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