Skip to content

Commit

Permalink
wip: add blanket network policy for skaffold opening all ports
Browse files Browse the repository at this point in the history
Signed-off-by: Guilhem Barthés <guilhem.barthes@owkin.com>
  • Loading branch information
guilhem-barthes committed Apr 19, 2024
1 parent 4e9d4c8 commit 43889c4
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions examples/k8s-resources/networkpolicy-internet-skaffold.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: skaffold-local-ingress-allow-all
spec:
ingress:
- from:
- ipBlock:
cidr: 0.0.0.0/0
egress:
- to:
- ipBlock:
cidr: 0.0.0.0/0
podSelector: {}
policyTypes:
- Ingress
- Egress

0 comments on commit 43889c4

Please sign in to comment.