forked from RADAR-base/RADAR-Kubernetes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
20-grafana.yaml
78 lines (72 loc) · 2.81 KB
/
20-grafana.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
bases:
- ../environments.yaml
---
helmDefaults:
kubeContext: {{ .Values.kubeContext }}
repositories:
- name: grafana
url: https://grafana.github.io/helm-charts
- name: bitnami
url: https://charts.bitnami.com/bitnami
- name: radar
url: https://radar-base.github.io/radar-helm-charts
releases:
- name: timescaledb
chart: bitnami/postgresql
version: {{ .Values.timescaledb._chart_version }}
installed: {{ .Values.timescaledb._install }}
values:
- "../etc/timescaledb/values.yaml"
- {{ .Values.timescaledb | toYaml | indent 8 | trim }}
set:
- name: postgresqlPassword
value: {{ .Values.timescaledb_password }}
- name: postgresqlUsername
value: {{ .Values.timescaledb_username }}
- name: postgresqlDatabase
value: {{ .Values.timescaledb_db_name }}
- name: radar-grafana
chart: grafana/grafana
version: {{ .Values.radar_grafana._chart_version }}
installed: {{ .Values.radar_grafana._install }}
values:
- "../etc/radar-grafana/values.yaml"
- {{ .Values.radar_grafana | toYaml | indent 8 | trim }}
set:
- name: adminPassword
value: {{ .Values.grafana_password }}
- name: env.POSTGRES_DB
value: {{ .Values.timescaledb_db_name | quote }}
- name: envRenderSecret.POSTGRES_PASSWORD
value: {{ .Values.timescaledb_password }}
- name: ingress.hosts
values: ["dashboard.{{ .Values.server_name }}"]
- name: "grafana\\.ini.server.root_url"
value: "https://dashboard.{{ .Values.server_name }}/"
- name: ingress.tls[0].secretName
value: radar-base-tls-dashboard
- name: ingress.tls[0].hosts
values: ["dashboard.{{ .Values.server_name }}"]
- name: "grafana\\.ini.metrics.basic_auth_username"
value: {{ .Values.grafana_metrics_username }}
- name: "grafana\\.ini.metrics.basic_auth_password"
value: {{ .Values.grafana_metrics_password }}
- name: "grafana\\.ini.auth\\.generic_oauth.auth_url"
value: "https://{{ .Values.server_name }}/managementportal/oauth/authorize"
- name: "grafana\\.ini.auth\\.generic_oauth.token_url"
value: "https://{{ .Values.server_name }}/managementportal/oauth/token"
- name: radar-jdbc-connector
chart: radar/radar-jdbc-connector
version: {{ .Values.radar_jdbc_connector._chart_version }}
installed: {{ .Values.radar_jdbc_connector._install }}
values:
- {{ .Values.radar_jdbc_connector | toYaml | indent 8 | trim }}
set:
- name: kafka_num_brokers
value: {{ .Values.kafka_num_brokers }}
- name: timescaledb.password
value: {{ .Values.timescaledb_password }}
- name: timescaledb.username
value: {{ .Values.timescaledb_username }}
- name: timescaledb.database_name
value: {{ .Values.timescaledb_db_name }}