Files
service-catalog/manifests/helm/airflow/1.16.0/custom-values.yaml
T
wbsong111 17d5aafa1f 커밋된 자격증명을 예시 값으로 교체한다
nemo 의 NGC API 키와, airflow git-sync · gitea · keycloakx 가 공유하던 암호가
평문으로 커밋돼 있었다. airflow 쪽은 같은 값을 base64 로 감싼 것이라 5개 파일을
함께 교체했다.

4개 차트 helm template 렌더 확인. 히스토리와 GitHub PR ref 에는 남으므로 키
로테이션이 별도로 필요하다.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-24 10:21:42 +09:00

108 lines
2.9 KiB
YAML

# 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: <none>).
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: longhorn
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: longhorn
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 <ns>
postgresql:
enabled: false
data:
metadataConnection:
user: airflow
pass: airflow
protocol: postgresql
host: airflow-db-rw
port: 5432
db: airflow
sslmode: disable