Skip to content

Commit d0bb1cb

Browse files
committed
fix(web): changed netpol to not allow ingress on port 80
1 parent 01e7059 commit d0bb1cb

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

deploy/kustomize/web/network-policy.yaml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ spec:
2020
- podSelector: {}
2121
ports:
2222
- protocol: TCP
23-
port: 8080 # HTTP
23+
port: 8080
2424
# Allow ingress from ingress-nginx namespace
2525
- from:
2626
- namespaceSelector:
@@ -32,8 +32,6 @@ spec:
3232
ports:
3333
- protocol: TCP
3434
port: 8080
35-
- protocol: TCP
36-
port: 80
3735
# Allow ingress from traefik namespace
3836
- from:
3937
- namespaceSelector:
@@ -45,5 +43,3 @@ spec:
4543
ports:
4644
- protocol: TCP
4745
port: 8080
48-
- protocol: TCP
49-
port: 80

0 commit comments

Comments
 (0)