fix(jupyterhub): airflow integration

This commit is contained in:
Masaki Yatsu
2025-09-11 03:59:00 +09:00
parent 6b01b94b56
commit d1ccaa5bb5
4 changed files with 15 additions and 4 deletions

View File

@@ -178,12 +178,23 @@ singleuser:
optional: true # Don't fail if PVC doesn't exist yet
extraVolumeMounts:
- name: airflow-dags
mountPath: /opt/airflow-dags
mountPath: /home/jovyan/airflow-dags
readOnly: false
{{- end }}
networkPolicy:
egress:
{{- if eq .Env.JUPYTERHUB_AIRFLOW_DAGS_PERSISTENCE_ENABLED "true" }}
# Allow communication with Airflow API server in the same namespace
- to:
- podSelector:
matchLabels:
release: airflow
component: api-server
ports:
- port: 8080
protocol: TCP
{{- end }}
- to:
- namespaceSelector:
matchLabels: