From 6cd02c7a0b7af5939b9bd19c67fd0a022c34889a Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Wed, 2 Jan 2019 22:41:03 +0100 Subject: add prom cert MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Johannes Löthberg --- theos/certs/init.sls | 1 + theos/certs/prometheus_kyriasis_com.sls | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 theos/certs/prometheus_kyriasis_com.sls diff --git a/theos/certs/init.sls b/theos/certs/init.sls index 88cb7c6..9f42ff8 100644 --- a/theos/certs/init.sls +++ b/theos/certs/init.sls @@ -7,6 +7,7 @@ include: - .taskd_kyriasis_com - .miniflux_kyriasis_com - .grafana_kyriasis_com + - .prometheus_kyriasis_com - .remmy_io /etc/letsencrypt/archive: diff --git a/theos/certs/prometheus_kyriasis_com.sls b/theos/certs/prometheus_kyriasis_com.sls new file mode 100644 index 0000000..d0076c3 --- /dev/null +++ b/theos/certs/prometheus_kyriasis_com.sls @@ -0,0 +1,16 @@ +include: + - nginx.ng + +prometheus.kyriasis.com: + acme.cert: + - email: johannes@kyriasis.com + - webroot: /srv/http/ + - keysize: 4096 + - renew: 30 + + - watch_in: + - service: nginx_service + - require_in: + - service: nginx_service + +# vim: set ft=yaml et: -- cgit v1.2.3-70-g09d2