--- charts-original/templates/grafana/configmap-dashboards.yaml +++ charts/templates/grafana/configmap-dashboards.yaml @@ -10,7 +10,7 @@ kind: ConfigMap metadata: name: {{ printf "%s-%s" (include "kube-prometheus-stack.fullname" $) $dashboardName | trunc 63 | trimSuffix "-" }} - namespace: {{ template "kube-prometheus-stack.namespace" $ }} + namespace: {{ .Values.grafana.defaultDashboards.namespace }} labels: {{- if $.Values.grafana.sidecar.dashboards.label }} {{ $.Values.grafana.sidecar.dashboards.label }}: "1"