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/namespace-by-pod.yaml
|
|
+++ charts/templates/grafana/dashboards-1.14/namespace-by-pod.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" $) "namespace-by-pod" | trunc 63 | trimSuffix "-" }}
|
|
annotations:
|
|
{{ toYaml .Values.grafana.sidecar.dashboards.annotations | indent 4 }}
|
|
@@ -1295,7 +1295,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": [
|
|
@@ -1461,4 +1461,4 @@
|
|
"uid": "8b7a8b326d7a6f1f04244066368c67af",
|
|
"version": 0
|
|
}
|
|
-{{- end }}
|
|
\ No newline at end of file
|
|
+{{- end }}
|