From 25adeae9bf6be36feb39384c0a4869f1bf1bacba Mon Sep 17 00:00:00 2001 From: George Angel Date: Tue, 14 Aug 2018 16:57:20 +0100 Subject: [PATCH] Etcd cert reload (#49) * sys: no longer need to restart svc, reloads certs on req https://github.com/coreos/etcd/commit/4e21f87e3d014d606bb3ba2a89731a7d24806611 --- cert-fetcher/main.tf | 37 +++++++++++++++++++++++++++++++ etcd.tf | 9 ++++---- resources/etcd-member-dropin.conf | 1 - 3 files changed, 41 insertions(+), 6 deletions(-) create mode 100644 cert-fetcher/main.tf diff --git a/cert-fetcher/main.tf b/cert-fetcher/main.tf new file mode 100644 index 0000000..5397636 --- /dev/null +++ b/cert-fetcher/main.tf @@ -0,0 +1,37 @@ +variable "on_calendar" {} + +data "ignition_systemd_unit" "cert-fetch-service" { + name = "cert-fetch.service" + + content = <