2021-05-17 22:30:18 +00:00
|
|
|
--- charts-original/templates/grafana/dashboards-1.14/cluster-total.yaml
|
|
|
|
+++ charts/templates/grafana/dashboards-1.14/cluster-total.yaml
|
2021-06-10 04:26:09 +00:00
|
|
|
@@ -8,7 +8,7 @@
|
2021-05-17 22:30:18 +00:00
|
|
|
apiVersion: v1
|
|
|
|
kind: ConfigMap
|
|
|
|
metadata:
|
|
|
|
- namespace: {{ template "kube-prometheus-stack.namespace" . }}
|
|
|
|
+ namespace: {{ .Values.grafana.defaultDashboards.namespace }}
|
|
|
|
name: {{ printf "%s-%s" (include "kube-prometheus-stack.fullname" $) "cluster-total" | trunc 63 | trimSuffix "-" }}
|
|
|
|
annotations:
|
|
|
|
{{ toYaml .Values.grafana.sidecar.dashboards.annotations | indent 4 }}
|
2021-06-10 04:26:09 +00:00
|
|
|
@@ -1825,7 +1825,7 @@
|
2021-05-17 22:30:18 +00:00
|
|
|
"datasource": "$datasource",
|
|
|
|
"hide": {{ if .Values.grafana.sidecar.dashboards.multicluster }}0{{ else }}2{{ end }},
|
|
|
|
"includeAll": false,
|
|
|
|
- "label": null,
|
|
|
|
+ "label": "cluster",
|
|
|
|
"multi": false,
|
|
|
|
"name": "cluster",
|
|
|
|
"options": [
|
|
|
|
@@ -1879,4 +1879,4 @@
|
|
|
|
"uid": "ff635a025bcfea7bc3dd4f508990a3e9",
|
|
|
|
"version": 0
|
|
|
|
}
|
|
|
|
-{{- end }}
|
|
|
|
\ No newline at end of file
|
|
|
|
+{{- end }}
|