Closed muzammil360 closed 8 months ago
Ok. i found the issue. You are using DS_PROMETHEUS_WH211
as the variable name. I need to explicitly set value to it.
Here is what my CRD.
apiVersion: grafana.integreatly.org/v1beta1
kind: GrafanaDashboard
metadata:
name: kafka
spec:
folder: default
instanceSelector:
matchLabels:
dashboards: "grafana"
datasources:
- inputName: "DS_PROMETHEUS_WH211"
datasourceName: "Prometheus"
grafanaCom:
id: 7589
revision: 5
---
Hi @danielqsj, I am getting the error "Templating: Failed to upgrade legacy queries" when i import the dashboard using
GrafanaDashboard
custom resource in k8s. If i import the dashboard via GUI, it works fine. Do you know what might be going wrong here?