Fix Grafana datasource update

Removing hardcoded version number from template

Closes-Bug: #2096664
Change-Id: I8e246419bbb783fa7c55f407986f45476a251252
This commit is contained in:
Grzegorz Koper 2025-01-24 14:32:22 +01:00
parent dd18ffe098
commit 445e62958e
2 changed files with 6 additions and 1 deletions
ansible/roles/grafana/templates
releasenotes/notes

@ -10,6 +10,5 @@ datasources:
basicAuthPassword: "{{ prometheus_grafana_password }}"
orgId: 1
url: {{ grafana_prometheus_url }}
version: 1
jsonData:
timeInterval: {{ prometheus_scrape_interval }}

@ -0,0 +1,6 @@
---
fixes:
- |
Fixes an issue with Grafana datasource updates by removing hardcoded
version number. This ensures proper datasource configuration updates.
`LP#[2096664] <https://launchpad.net/bugs/2096664>`__