Prometheus Data Source Not Automatically Provisioned in Grafana via Helm

Hi everyone. I deployed Grafana with helm and kube-prometheus-stack. I separated the Grafana for using CRDs. But in the values, I add Prometheus as datasource and it doesn’t automatically provision.

Here is the datasource section and the configmap:

datasources:
  datasources.yaml:
    apiVersion: 1
    datasources:
      - name: Prometheus
        type: prometheus
        url: http://kube-prometheus-stack-prometheus.monitoring.svc.cluster.local:9090
        access: proxy
        isDefault: true
Name:         grafana-production
Namespace:    monitoring
Labels:       app.kubernetes.io/instance=grafana-production
              app.kubernetes.io/name=grafana
              app.kubernetes.io/version=11.4.0
              argocd.argoproj.io/instance=grafana-production
              helm.sh/chart=grafana-8.8.2
Annotations:  <none>

Data
====
grafana.ini:
----
[analytics]
check_for_updates = true
[grafana_net]
url = https://grafana.net
[log]
mode = console
[paths]
data = /var/lib/grafana/
logs = /var/log/grafana
plugins = /var/lib/grafana/plugins
provisioning = /etc/grafana/provisioning
[server]
domain = ''



BinaryData
====

Events:  <none>