mirror of https://git.rancher.io/charts
28 lines
1.1 KiB
Diff
28 lines
1.1 KiB
Diff
|
--- charts-original/templates/grafana/dashboards-1.14/pod-total.yaml
|
||
|
+++ charts/templates/grafana/dashboards-1.14/pod-total.yaml
|
||
|
@@ -8,7 +8,7 @@
|
||
|
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" $) "pod-total" | trunc 63 | trimSuffix "-" }}
|
||
|
annotations:
|
||
|
{{ toYaml .Values.grafana.sidecar.dashboards.annotations | indent 4 }}
|
||
|
@@ -1027,7 +1027,7 @@
|
||
|
"datasource": "$datasource",
|
||
|
"hide": {{ if .Values.grafana.sidecar.dashboards.multicluster }}0{{ else }}2{{ end }},
|
||
|
"includeAll": false,
|
||
|
- "label": null,
|
||
|
+ "label": "cluster",
|
||
|
"multi": false,
|
||
|
"name": "cluster",
|
||
|
"options": [
|
||
|
@@ -1225,4 +1225,4 @@
|
||
|
"uid": "7a18067ce943a40ae25454675c19ff5c",
|
||
|
"version": 0
|
||
|
}
|
||
|
-{{- end }}
|
||
|
\ No newline at end of file
|
||
|
+{{- end }}
|