Skip to content

Commit

Permalink
ADD hosting provider metadata ip to excluded ip blocks in network policy
Browse files Browse the repository at this point in the history
  • Loading branch information
wabscale committed Feb 20, 2022
1 parent eb58135 commit 4a7b57b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions k8s/chart/templates/network-policy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ spec:
- 10.0.0.0/8
- 192.168.0.0/16
- 172.16.0.0/12
- 169.254.169.254 # Hosting Provider Metadata IP

---

Expand Down Expand Up @@ -92,6 +93,7 @@ spec:
- 10.0.0.0/8
- 192.168.0.0/16
- 172.16.0.0/12
- 169.254.169.254 # Hosting Provider Metadata IP
- to:
- podSelector:
matchLabels:
Expand Down

0 comments on commit 4a7b57b

Please sign in to comment.