-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy path10-base.yaml
115 lines (107 loc) · 4.55 KB
/
10-base.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
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
bases:
- ../environments.yaml
---
{{ readFile "../etc/helmfile-templates.yaml" }}
releases:
- name: cert-manager-letsencrypt
namespace: cert-manager
chart: radar/cert-manager-letsencrypt
version: {{ .Values.cert_manager_letsencrypt._chart_version }}
installed: {{ .Values.cert_manager_letsencrypt._install }}
timeout: {{ add .Values.base_timeout .Values.cert_manager_letsencrypt._extra_timeout }}
<<: *logFailedRelease
set:
- name: maintainerEmail
value: {{ .Values.maintainer_email }}
- name: cp-zookeeper
chart: cp-radar/cp-zookeeper
version: {{ .Values.cp_zookeeper._chart_version }}
installed: {{ .Values.cp_zookeeper._install }}
timeout: {{ add .Values.base_timeout .Values.cp_zookeeper._extra_timeout }}
wait: true
<<: *logFailedRelease
values:
- "../etc/cp-zookeeper/values.yaml"
- {{ .Values.cp_zookeeper | toYaml | indent 8 | trim }}
- name: cp-kafka
chart: cp-radar/cp-kafka
version: {{ .Values.cp_kafka._chart_version }}
installed: {{ .Values.cp_kafka._install }}
timeout: {{ add .Values.base_timeout .Values.cp_kafka._extra_timeout }}
wait: true
<<: *logFailedRelease
values:
- "../etc/cp-kafka/values.yaml"
- {{ .Values.cp_kafka | toYaml | indent 8 | trim }}
set:
- name: brokers
value: {{ .Values.kafka_num_brokers }}
- name: cp-schema-registry
chart: cp-radar/cp-schema-registry
version: {{ .Values.cp_schema_registry._chart_version }}
installed: {{ .Values.cp_schema_registry._install }}
timeout: {{ add .Values.base_timeout .Values.cp_schema_registry._extra_timeout }}
wait: true
<<: *logFailedRelease
values:
- "../etc/cp-schema-registry/values.yaml"
- {{ .Values.cp_schema_registry | toYaml | indent 8 | trim }}
set:
- name: ingress.hosts[0].host
value: "{{ .Values.server_name }}"
- name: ingress.hosts[0].paths
values: ["/schema/?(.*)"]
- name: ingress.tls[0].secretName
value: radar-base-tls
- name: ingress.tls[0].hosts
values: ["{{ .Values.server_name }}"]
- name: catalog-server
chart: radar/catalog-server
version: {{ .Values.catalog_server._chart_version }}
installed: {{ .Values.catalog_server._install }}
timeout: {{ add .Values.base_timeout .Values.catalog_server._extra_timeout }}
wait: true
<<: *logFailedRelease
values:
- {{ .Values.catalog_server | toYaml | indent 8 | trim }}
- {{ .Values.confluent_cloud | toYaml | indent 8 | trim }}
set:
- name: kafka_num_brokers
value: {{ .Values.kafka_num_brokers }}
- name: cc.enabled
value: {{ .Values.confluent_cloud.enabled }}
{{- if .Values.confluent_cloud.enabled }}
- name: schema_registry
value: {{ .Values.confluent_cloud.cc.schemaRegistryUrl }}
{{ end }}
- name: radar-home
chart: radar/radar-home
version: {{ .Values.radar_home._chart_version }}
installed: {{ .Values.radar_home._install }}
timeout: {{ add .Values.base_timeout .Values.radar_home._extra_timeout }}
<<: *logFailedRelease
values:
- {{ .Values.radar_home | toYaml | indent 8 | trim }}
set:
- name: ingress.hosts
values: [ {{ .Values.server_name }} ]
- name: s3.enabled
value: {{ dig "s3" "enabled" .Values.minio._install .Values.radar_home }}
- name: s3.url
value: {{ dig "s3" "url" (printf "https://s3.%s/login" .Values.server_name) .Values.radar_home }}
- name: dashboard.enabled
value: {{ dig "dashboard" "enabled" .Values.radar_grafana._install .Values.radar_home }}
- name: dashboard.url
value: {{ dig "dashboard" "url" (printf "https://dashboard.%s/" .Values.server_name) .Values.radar_home }}
- name: uploadPortal.enabled
value: {{ dig "uploadPortal" "enabled" .Values.radar_upload_connect_frontend._install .Values.radar_home }}
- name: restAuthorizer.enabled
value: {{ dig "restAuthorizer" "enabled" .Values.radar_rest_sources_authorizer._install .Values.radar_home }}
- name: monitoring.enabled
value: {{ dig "monitoring" "enabled" .Values.kube_prometheus_stack._install .Values.radar_home }}
- name: monitoring.url
value: {{ dig "monitoring" "url" (printf "https://grafana.%s/login" .Values.server_name) .Values.radar_home }}
- name: logging.enabled
value: {{ dig "logging" "enabled" .Values.graylog._install .Values.radar_home }}
- name: logging.url
value: {{ dig "logging" "url" (printf "https://graylog.%s/" .Values.server_name) .Values.radar_home }}