Skip to content

Commit

Permalink
Open port 8080 and 22 outbound for OHW
Browse files Browse the repository at this point in the history
  • Loading branch information
yuvipanda committed Aug 4, 2021
1 parent e828bb5 commit 5a79554
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions config/hubs/2i2c.cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,28 @@ hubs:
continuous:
enabled: true
singleuser:
networkPolicy:
# In clusters with NetworkPolicy enabled, do not
# allow outbound internet access that's not DNS, HTTP or HTTPS
# For OHW, we allow 8080 (for DAP) and 22 (for ssh)
# https://github.com/2i2c-org/pilot-hubs/issues/549#issuecomment-892276020
enabled: true
egress:
- ports:
- port: 53
protocol: UDP
- ports:
- port: 80
protocol: TCP
- ports:
- port: 443
protocol: TCP
- ports:
- port: 8080
protocol: TCP
- ports:
- port: 22
protocol: TCP
image:
name: ghcr.io/oceanhackweek/jupyer-image
tag: 9efd4fb
Expand Down

0 comments on commit 5a79554

Please sign in to comment.