commit | 1e523b9a00bce5c15a038a2f54b34153c38dff7c | [log] [tgz] |
---|---|---|
author | Bartosz Kupidura <bkupidura@mirantis.com> | Fri Jul 28 14:38:55 2017 +0200 |
committer | Bartosz Kupidura <bkupidura@mirantis.com> | Wed Aug 02 10:42:13 2017 +0200 |
tree | cc130b8531defb86c2cb46032e650eec518ecb23 | |
parent | cf32e80beceb30ce90e0cd50cb80611a37c7033d [diff] |
Configure prometheus job with meta Change-Id: I906a899cf93d86c16098d9e8e6c018a6b458f1a5 Depends-On: I21c84341d5a585862d21f75a4d263f8f5781675d
diff --git a/etcd/meta/prometheus.yml b/etcd/meta/prometheus.yml index cdc8de5..1fa8643 100644 --- a/etcd/meta/prometheus.yml +++ b/etcd/meta/prometheus.yml
@@ -3,6 +3,16 @@ target: static: etcd: + enabled: true + {%- if server.get('ssl', {}).get('enabled') %} + scheme: https + tls_config: + skip_verify: true + cert_name: prometheus-server.crt + key_name: prometheus-server.key + {%- else %} + scheme: http + {%- endif %} endpoint: {%- set hostname = grains.get('nodename') %} {%- for member in server.members %}