-
Notifications
You must be signed in to change notification settings - Fork 0
/
skaffold.yaml
40 lines (38 loc) · 1.1 KB
/
skaffold.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# skaffold.yaml
apiVersion: skaffold/v2beta1
kind: Config
build:
artifacts:
- image: airflow-skaffold
docker:
dockerfile: Dockerfile
context: ./
sync:
infer:
- "dags/**/*.py"
- "dags/**/*.sql"
local:
push: false
useDockerCLI: true
deploy:
helm:
releases:
- name: airflow
namespace: airflow
chartPath: helm/airflow
valuesFiles:
- "./helm/airflow/values.yaml"
- "./helm/airflow/values.local.yaml"
skipBuildDependencies: true
setValueTemplates:
airflow.dags.persistence.enabled: false
airflow.logs.persistence.enabled: false
airflow.airflow.config.AIRFLOW__KUBERNETES__DAGS_IN_IMAGE: "True"
airflow.airflow.config.GUNICORN_CMD_ARGS: "--log-level DEBUG"
airflow.images.airflow.repository: "{{.IMAGE_REPO_airflow_skaffold}}"
airflow.images.airflow.tag: "{{.IMAGE_TAG_airflow_skaffold}}@{{.IMAGE_DIGEST_airflow_skaffold}}"
portForward:
- resourceType: service
resourceName: airflow-webserver
port: 8080
localPort: 8080