-
- Downloads
Fix Prometheus template generation
In a deployment where Prometheus is enabled and Alertmanager is disabled the task "Copying over prometheus config file" in 'ansible/roles/prometheus/tasks/config.yml' will fail to template the Prometheus configuration file 'ansible/roles/prometheus/templates/prometheus.yml.j2' as the variable 'prometheus_alert_rules' does not contain the key 'files'. This commit fixes this bug. Change-Id: Idbe1e52dd3693a6f168d475f9230a253dae64480 Closes-Bug: #1854540
Showing
- ansible/roles/prometheus/templates/prometheus.yml.j2 1 addition, 1 deletionansible/roles/prometheus/templates/prometheus.yml.j2
- releasenotes/notes/prometheus-config-when-alertmanager-disabled-0090c1570ff4e632.yaml 8 additions, 0 deletions...s-config-when-alertmanager-disabled-0090c1570ff4e632.yaml
Please register or sign in to comment