-
Notifications
You must be signed in to change notification settings - Fork 54
/
kustomization.yaml
60 lines (60 loc) · 1.33 KB
/
kustomization.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
# Airbyte
- https://github.com/airbytehq/airbyte/kube/overlays/stable?ref=v0.39.37-alpha
# Metabase
- ./metabase
# Hasura
- ./hasura
# n8n
- ./n8n
# Faros
- ./faros
patches:
- ./airbyte/db.yaml
configMapGenerator:
- name: faros-config
behavior: merge
envs:
- ./faros/config/.k8s.env
replacements:
- source:
kind: ConfigMap
name: faros-config
fieldPath: data.HASURA_VERSION
targets:
- select:
kind: Deployment
name: hasura
fieldPaths:
- spec.template.spec.containers.[name=hasura].image
options:
delimiter: ":"
index: 1
- source:
kind: ConfigMap
name: faros-config
fieldPath: data.METABASE_VERSION
targets:
- select:
kind: Deployment
name: metabase
fieldPaths:
- spec.template.spec.containers.[name=metabase].image
options:
delimiter: ":"
index: 1
- source:
kind: ConfigMap
name: faros-config
fieldPath: data.N8N_VERSION
targets:
- select:
kind: Deployment
name: n8n
fieldPaths:
- spec.template.spec.containers.[name=n8n].image
options:
delimiter: ":"
index: 1