We should make it possible to automatically deploy the Grafana dashboard through the Helm Chart. The Grafana Helm Chart includes a sidecar that watches ConfigMaps with the grafana_dashboard: 1 label and imports them into the Grafana instance.
- Add new keys to
chart/values.yaml:
metrics:
dashboard:
# If enabled, deploy a ConfigMap with our Grafana dashboard.
enabled: false
labels:
grafana_dashboard: 1
- Add a new file
chart/templates/core/grafana-dashboard.yaml that renders the ConfigMap with the dashboard as a data field if metrics.dashboard.enabled==true. Check if we can potentially symlink the dashboard from its current configuration or we need to create a copy.
Pointers:
We should make it possible to automatically deploy the Grafana dashboard through the Helm Chart. The Grafana Helm Chart includes a sidecar that watches
ConfigMapswith thegrafana_dashboard: 1label and imports them into the Grafana instance.chart/values.yaml:chart/templates/core/grafana-dashboard.yamlthat renders the ConfigMap with the dashboard as a data field ifmetrics.dashboard.enabled==true. Check if we can potentially symlink the dashboard from its current configuration or we need to create a copy.Pointers: