Parcourir la source

Merge pull request #9507 from pgier/bz1552516

[bz1552516] set the external url of prometheus
OpenShift Merge Robot il y a 6 ans
Parent
commit
a833b550c9
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      roles/openshift_prometheus/templates/prometheus.j2

+ 1 - 0
roles/openshift_prometheus/templates/prometheus.j2

@@ -80,6 +80,7 @@ spec:
 {% endfor %}
         - --config.file=/etc/prometheus/prometheus.yml
         - --web.listen-address=localhost:9090
+        - --web.external-url=https://{{ openshift_prometheus_hostname }}
         image: "{{ openshift_prometheus_image }}"
         imagePullPolicy: IfNotPresent
         livenessProbe: