aboutsummaryrefslogtreecommitdiff
path: root/cluster/prod/app/email/deploy/email.hcl
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-12-25 23:03:37 +0100
committerAlex Auvolat <alex@adnab.me>2022-12-25 23:03:37 +0100
commit40f56707535a7167c1ea1e4bafb0868dfaba8117 (patch)
treebf34fb92640e43baa5c22f0efe9685624d6adb7a /cluster/prod/app/email/deploy/email.hcl
parent2bbf54094505c5b354e7bf32874da791fa938431 (diff)
downloadnixcfg-40f56707535a7167c1ea1e4bafb0868dfaba8117.tar.gz
nixcfg-40f56707535a7167c1ea1e4bafb0868dfaba8117.zip
Remove old way of doing email certs (self-signed)
Diffstat (limited to 'cluster/prod/app/email/deploy/email.hcl')
-rw-r--r--cluster/prod/app/email/deploy/email.hcl4
1 files changed, 0 insertions, 4 deletions
diff --git a/cluster/prod/app/email/deploy/email.hcl b/cluster/prod/app/email/deploy/email.hcl
index 7925975..84f4c3b 100644
--- a/cluster/prod/app/email/deploy/email.hcl
+++ b/cluster/prod/app/email/deploy/email.hcl
@@ -150,13 +150,11 @@ job "email" {
# ----- secrets ------
template {
- # data = "{{ key \"secrets/email/dovecot/dovecot.crt\" }}"
data = "{{ with $d := key \"tricot/certs/imap.deuxfleurs.fr\" | parseJSON }}{{ $d.cert_pem }}{{ end }}"
destination = "secrets/ssl/certs/dovecot.crt"
perms = "400"
}
template {
- # data = "{{ key \"secrets/email/dovecot/dovecot.key\" }}"
data = "{{ with $d := key \"tricot/certs/imap.deuxfleurs.fr\" | parseJSON }}{{ $d.key_pem }}{{ end }}"
destination = "secrets/ssl/private/dovecot.key"
perms = "400"
@@ -381,14 +379,12 @@ job "email" {
# --- secrets ---
template {
- # data = "{{ key \"secrets/email/postfix/postfix.crt\" }}"
data = "{{ with $d := key \"tricot/certs/smtp.deuxfleurs.fr\" | parseJSON }}{{ $d.cert_pem }}{{ end }}"
destination = "secrets/ssl/postfix.crt"
perms = "400"
}
template {
- # data = "{{ key \"secrets/email/postfix/postfix.key\" }}"
data = "{{ with $d := key \"tricot/certs/smtp.deuxfleurs.fr\" | parseJSON }}{{ $d.key_pem }}{{ end }}"
destination = "secrets/ssl/postfix.key"
perms = "400"