Skip to content

Commit

Permalink
Update all-resources.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
AdmiraalA authored Feb 22, 2024
1 parent 0d2be5d commit 0368bab
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions deployments/nginx/all-resources.yml
Original file line number Diff line number Diff line change
Expand Up @@ -452,6 +452,10 @@ spec:
egress:
- to:
- podSelector: {}
# Add a default-deny rule to minimize admission of pods without NetworkPolicy
# This rule denies all ingress and egress traffic by default
# Pods must have specific NetworkPolicy to allow traffic
- {}
---
apiVersion: v1
kind: ServiceAccount
Expand Down

0 comments on commit 0368bab

Please sign in to comment.