2021-05-17 22:30:18 +00:00
|
|
|
--- charts-original/templates/grafana/configmaps-datasources.yaml
|
|
|
|
+++ charts/templates/grafana/configmaps-datasources.yaml
|
2021-06-10 04:26:09 +00:00
|
|
|
@@ -3,7 +3,7 @@
|
2021-05-17 22:30:18 +00:00
|
|
|
kind: ConfigMap
|
|
|
|
metadata:
|
|
|
|
name: {{ template "kube-prometheus-stack.fullname" . }}-grafana-datasource
|
|
|
|
- namespace: {{ template "kube-prometheus-stack.namespace" . }}
|
|
|
|
+ namespace: {{ default .Values.grafana.sidecar.datasources.searchNamespace (include "kube-prometheus-stack.namespace" .) }}
|
|
|
|
{{- if .Values.grafana.sidecar.datasources.annotations }}
|
|
|
|
annotations:
|
|
|
|
{{ toYaml .Values.grafana.sidecar.datasources.annotations | indent 4 }}
|