-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathhelmfile.yaml.gotmpl
More file actions
118 lines (109 loc) · 4.65 KB
/
helmfile.yaml.gotmpl
File metadata and controls
118 lines (109 loc) · 4.65 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
---
environments:
local:
values:
- environments/local/global.yaml
reference:
values:
- environments/reference/global.yaml
example-small:
values:
- environments/example-small/global.yaml
example-production:
values:
- environments/example-production/global.yaml
test-local-full:
values:
- environments/test-local-full/global.yaml
---
repositories: []
missingFileHandler: Warn
helmDefaults:
wait: true
timeout: 600
createNamespace: true
releases:
- name: countly-mongodb
installed: {{ ne (.Values | get "backingServices.mongodb.mode" "bundled") "external" }}
chart: ./charts/countly-mongodb
namespace: mongodb
values:
- environments/{{ .Environment.Name }}/global.yaml
- profiles/security/{{ .Values | get "global.security" "open" }}/mongodb.yaml
- environments/{{ .Environment.Name }}/mongodb.yaml
- profiles/sizing/{{ .Values | get "global.sizing" "small" }}/mongodb.yaml
- environments/{{ .Environment.Name }}/credentials-mongodb.yaml
- name: countly-clickhouse
installed: {{ ne (.Values | get "backingServices.clickhouse.mode" "bundled") "external" }}
chart: ./charts/countly-clickhouse
namespace: clickhouse
values:
- environments/{{ .Environment.Name }}/global.yaml
- profiles/security/{{ .Values | get "global.security" "open" }}/clickhouse.yaml
- environments/{{ .Environment.Name }}/clickhouse.yaml
- profiles/sizing/{{ .Values | get "global.sizing" "small" }}/clickhouse.yaml
- environments/{{ .Environment.Name }}/credentials-clickhouse.yaml
- name: countly-kafka
installed: {{ ne (.Values | get "backingServices.kafka.mode" "bundled") "external" }}
chart: ./charts/countly-kafka
namespace: kafka
values:
- environments/{{ .Environment.Name }}/global.yaml
- profiles/kafka-connect/{{ .Values | get "global.kafkaConnect" "balanced" }}/kafka.yaml
- profiles/observability/{{ .Values | get "global.observability" "full" }}/kafka.yaml
- profiles/security/{{ .Values | get "global.security" "open" }}/kafka.yaml
- environments/{{ .Environment.Name }}/kafka.yaml
{{- $kcSizing := .Values | get "global.kafkaConnectSizing" "auto" }}
{{- if eq $kcSizing "auto" }}
{{- $kcSizing = .Values | get "global.sizing" "" }}
{{- end }}
{{- if ne $kcSizing "" }}
- profiles/kafka-connect-sizing/{{ $kcSizing }}/kafka.yaml
{{- end }}
- profiles/sizing/{{ .Values | get "global.sizing" "small" }}/kafka.yaml
- environments/{{ .Environment.Name }}/credentials-kafka.yaml
needs:
- mongodb/countly-mongodb
- clickhouse/countly-clickhouse
- name: countly
chart: ./charts/countly
namespace: countly
values:
- environments/{{ .Environment.Name }}/global.yaml
- profiles/tls/{{ .Values | get "global.tls" "none" }}/countly.yaml
- profiles/observability/{{ .Values | get "global.observability" "full" }}/countly.yaml
- profiles/security/{{ .Values | get "global.security" "open" }}/countly.yaml
- environments/{{ .Environment.Name }}/countly.yaml
- profiles/sizing/{{ .Values | get "global.sizing" "small" }}/countly.yaml
- environments/{{ .Environment.Name }}/credentials-countly.yaml
needs:
- mongodb/countly-mongodb
- clickhouse/countly-clickhouse
- kafka/countly-kafka
{{- $obsProfile := .Values | get "global.observability" "full" }}
- name: countly-observability
installed: {{ ne $obsProfile "disabled" }}
chart: ./charts/countly-observability
namespace: observability
values:
- environments/{{ .Environment.Name }}/global.yaml
- profiles/observability/{{ .Values | get "global.observability" "full" }}/observability.yaml
- profiles/security/{{ .Values | get "global.security" "open" }}/observability.yaml
- environments/{{ .Environment.Name }}/observability.yaml
- profiles/sizing/{{ .Values | get "global.sizing" "small" }}/observability.yaml
- environments/{{ .Environment.Name }}/credentials-observability.yaml
needs:
- countly/countly
# Optional: MongoDB to ClickHouse batch migration service (with bundled Redis)
# Set migration.enabled: true in your environment's global.yaml to deploy
- name: countly-migration
installed: {{ .Values | get "migration.enabled" false }}
chart: ./charts/countly-migration
namespace: countly-migration
values:
- environments/{{ .Environment.Name }}/global.yaml
- environments/{{ .Environment.Name }}/migration.yaml
- environments/{{ .Environment.Name }}/credentials-migration.yaml
needs:
- mongodb/countly-mongodb
- clickhouse/countly-clickhouse