feat(jupyterhub): set network policy to use Airflow
This commit is contained in:
@@ -161,13 +161,6 @@ singleuser:
|
||||
ports:
|
||||
- port: 5432
|
||||
protocol: TCP
|
||||
- to:
|
||||
- namespaceSelector:
|
||||
matchLabels:
|
||||
kubernetes.io/metadata.name: chroma
|
||||
ports:
|
||||
- port: 8000
|
||||
protocol: TCP
|
||||
- to:
|
||||
- namespaceSelector:
|
||||
matchLabels:
|
||||
@@ -202,6 +195,13 @@ singleuser:
|
||||
protocol: TCP
|
||||
- port: 9000
|
||||
protocol: TCP
|
||||
- to:
|
||||
- namespaceSelector:
|
||||
matchLabels:
|
||||
kubernetes.io/metadata.name: airflow
|
||||
ports:
|
||||
- port: 8080
|
||||
protocol: TCP
|
||||
# Allow DNS resolution
|
||||
- to:
|
||||
- ipBlock:
|
||||
|
||||
Reference in New Issue
Block a user