Add NetworkPolicies
This commit is contained in:
parent
07283a2243
commit
63318b11b9
4 changed files with 39 additions and 5 deletions
10
files/NetworkPolicies/default-deny-all.yaml
Normal file
10
files/NetworkPolicies/default-deny-all.yaml
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
apiVersion: networking.k8s.io/v1
|
||||
kind: NetworkPolicy
|
||||
metadata:
|
||||
name: default-deny-all
|
||||
namespace: kubernetes-dashboard
|
||||
spec:
|
||||
podSelector: {}
|
||||
policyTypes:
|
||||
- Ingress
|
||||
- Egress
|
||||
Loading…
Add table
Add a link
Reference in a new issue