Browse Source

Merge pull request #8906 from vrutkovs/grafana-prom-port

Grafana: convert grafana_service_targetport in annotations
Vadim Rutkovsky 6 years ago
parent
commit
c2b99d5402
1 changed files with 1 additions and 1 deletions
  1. 1 1
      roles/openshift_grafana/tasks/install_grafana.yaml

+ 1 - 1
roles/openshift_grafana/tasks/install_grafana.yaml

@@ -61,7 +61,7 @@
     annotations:
       prometheus.io/scrape: "true"
       prometheus.io/scheme: https
-      prometheus.io/port: "{{ grafana_service_targetport }}"
+      prometheus.io/port: "{{ grafana_service_targetport | int }}"
       service.alpha.openshift.io/serving-cert-secret-name: grafana-tls
     ports:
     - name: grafana