Create network-policy-default-deny-all.yaml

This commit is contained in:
Sabbir Ahmed Shameem 2024-05-06 22:28:20 +06:00 committed by GitHub
parent 3391d8877d
commit ffd9f50228
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,10 @@
---
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: default-deny-all
spec:
podSelector: {}
policyTypes:
- Ingress
- Egress