-
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathexample-airflow-gitsync-https.yaml
More file actions
36 lines (36 loc) · 1.04 KB
/
example-airflow-gitsync-https.yaml
File metadata and controls
36 lines (36 loc) · 1.04 KB
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
---
apiVersion: airflow.stackable.tech/v1alpha1
kind: AirflowCluster
metadata:
name: airflow
spec:
image:
productVersion: 3.1.6
clusterConfig:
loadExamples: false
exposeConfig: false
credentialsSecret: airflow-admin-credentials # <1>
dagsGitSync: # <2>
- repo: https://github.com/stackabletech/airflow-operator # <3>
branch: "main" # <4>
gitFolder: "tests/templates/kuttl/mount-dags-gitsync/dags" # <5>
depth: 10 # <6>
wait: 20s # <7>
credentials:
basicAuthSecretName: airflow-git-credentials # <8>
gitSyncConf: # <9>
--rev: HEAD # <10>
# --rev: git-sync-tag # N.B. tag must be covered by "depth" (the number of commits to clone)
# --rev: 39ee3598bd9946a1d958a448c9f7d3774d7a8043 # N.B. commit must be covered by "depth"
--git-config: http.sslCAInfo:/tmp/ca-cert/ca.crt # <11>
webservers:
...
---
apiVersion: v1
kind: Secret
metadata:
name: airflow-git-credentials # <8>
type: Opaque
data:
user: c3Rh...
password: Z2l0a...