I am trying to provision influxdb2 (v 2.0.6) datasource & dashboard to grafana (v 7.5.7) using helm?
Grafana pod gets created successfully but no data source & dashboard is getting created. But, if I try to add both manually, it works but I am trying to do it with deployment.
Please find my below values.yaml related to datasource & dashboard
datasources:
datasources.yaml:
apiVersion: 1
datasources:
- name: InfluxDB_v2_InfluxQL
type: influxdb
access: proxy
url: http://podname.namespace:80
# This database should be mapped to a bucket
database: default
jsonData:
httpMode: GET
httpHeaderName1: 'Authorization'
secureJsonData:
httpHeaderValue1: 'Token ****'
dashboardsProvider:
enabled: enable
#ConfigMap with a custom provider file.
#Important to set the Path to "/opt/bitnami/grafana/dashboards"
#Evaluated as a template.
configMapName:
dashboards:
jmeter-influxdb2:
gnetId: 5496
revision: 1
datasource: influxdb
I have been using github’s garfana>helm charts>values.yaml, garfana doc on how to provision influxdb datasource & grafana administration provisioning page as references.