# defaultAirflowRepository: apache/airflow # defaultAirflowTag: "2.10.5" ingress: web: enabled: true # Kong → APISIX 마이그레이션(issue #139, mlflow/lakekeeper와 동일). 이 클러스터에는 # kong ingress controller가 없어 `kubernetes.io/ingress.class: kong` 애노테이션 방식은 # 어떤 컨트롤러도 인식하지 않아 접근 자체가 불가능했다(실측 — CLASS: ). ingressClassName: "apisix" # 기본 path "/" 는 정확히 "/" 만 매치되어(exact) airflow가 "/home" 등으로 리다이렉트한 # 뒤에는 전부 404가 난다(실측). lakekeeper와 동일하게 regex 전체 매치로 바꾼다. path: "/.*" annotations: cert-manager.io/cluster-issuer: "root-ca-issuer" k8s.apisix.apache.org/ssl-redirect: "true" k8s.apisix.apache.org/use-regex: "true" hosts: - name: "airflow.example.org" tls: enabled: true secretName: "airflow-tls" executor: "KubernetesExecutor" # airflow.cfg 설정 config: core: executor: KubernetesExecutor default_timezone: kst logging: colored_console_log: 'False' logging_level: "INFO" webserver: enable_proxy_fix: 'True' rbac: 'True' default_ui_timezone: kst scheduler: replicas: 1 dags: persistence: enabled: true size: 5Gi storageClassName: "standard-rwo" accessMode: ReadWriteMany gitSync: enabled: true repo: http://gitea-http.platform.svc.cluster.local:3000/dip/airflow-dags.git branch: master rev: HEAD depth: 1 subPath: "" credentialsSecret: git-credentials env: - name: GIT_SSL_NO_VERIFY value: "true" # 아래 자격증명은 예시 값이다(base64). 배포 전 실제 git 계정 값으로 교체한다. # Q2hhbmdlTWUxMjM0IQ== = "ChangeMe1234!" · 생성: printf '<암호>' | base64 # 실제 암호를 이 파일에 적어 커밋하지 않는다. extraSecrets: git-credentials: data: | GIT_SYNC_USERNAME: c3Vkb3VzZXI= GIT_SYNC_PASSWORD: Q2hhbmdlTWUxMjM0IQ== GITSYNC_USERNAME: c3Vkb3VzZXI= GITSYNC_PASSWORD: Q2hhbmdlTWUxMjM0IQ== webserver: defaultUser: enabled: true password: password livenessProbe: initialDelaySeconds: 120 readinessProbe: initialDelaySeconds: 120 startupProbe: initialDelaySeconds: 30 logs: persistence: enabled: true size: 5Gi storageClassName: "standard-rwo" statsd: enabled: false # 내장 bitnami postgresql 서브차트 대신 cnpg-cluster(전용 인스턴스)를 외부 DB로 사용한다. # 사전 배포: helm install airflow-db manifests/helm/cnpg-cluster/1.0.0 \ # -f manifests/helm/cnpg-cluster/1.0.0/custom-values.yaml \ # -f manifests/applicationset/airflow/1.16.0/airflow-db-values.yaml -n postgresql: enabled: false data: metadataConnection: user: airflow pass: airflow protocol: postgresql host: airflow-db-rw port: 5432 db: airflow sslmode: disable