Skip to content

Instantly share code, notes, and snippets.

@tcdowney
Created August 31, 2020 22:49
Show Gist options
  • Save tcdowney/ee55c02f5988dd7ac1fe9bf466bb7fbd to your computer and use it in GitHub Desktop.
Save tcdowney/ee55c02f5988dd7ac1fe9bf466bb7fbd to your computer and use it in GitHub Desktop.
Ubuntu Sleep Pod Allow All NetworkPolicy
kind: NetworkPolicy
apiVersion: networking.k8s.io/v1
metadata:
name: ubuntu-allow-all
spec:
policyTypes:
- Egress
- Ingress
podSelector:
matchLabels:
app: ubuntu
egress:
- {}
ingress:
- {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment