--- charts-original/templates/grafana/dashboards/k8s-resources-pod.yaml +++ charts/templates/grafana/dashboards/k8s-resources-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" $) "k8s-resources-pod" | trunc 63 | trimSuffix "-" }} annotations: {{ toYaml .Values.grafana.sidecar.dashboards.annotations | indent 4 }}