Skip to content

Instantly share code, notes, and snippets.

@myugan
Created February 7, 2021 14:51
Show Gist options
  • Save myugan/7804a7bc189491de93e782e11d9175a7 to your computer and use it in GitHub Desktop.
Save myugan/7804a7bc189491de93e782e11d9175a7 to your computer and use it in GitHub Desktop.
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: default-deny-ingress
spec:
podSelector: {}
policyTypes:
- Ingress
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment