From 948942de093a5e8961631bf63497fe4947cf18a2 Mon Sep 17 00:00:00 2001 From: Joel DeTeves Date: Mon, 10 Jan 2022 13:16:09 -0800 Subject: [PATCH] Configure Mesh SMTP settings --- kubernetes/deployment/tactical-meshcentral.yaml | 15 +++++++++++++++ kubernetes/secrets.yaml | 1 + 2 files changed, 16 insertions(+) diff --git a/kubernetes/deployment/tactical-meshcentral.yaml b/kubernetes/deployment/tactical-meshcentral.yaml index 8810cd2..8dbd618 100644 --- a/kubernetes/deployment/tactical-meshcentral.yaml +++ b/kubernetes/deployment/tactical-meshcentral.yaml @@ -47,6 +47,21 @@ spec: value: tactical-nlb - name: WS_MASK_OVERRIDE # Enable for Traefik compatibility value: "0" + - name: SMTP_HOST + value: smtp.example.com + - name: SMTP_PORT + value: "587" + - name: SMTP_FROM + value: mesh@example.com + - name: SMTP_USER + value: mesh@example.com + - name: SMTP_PASS + valueFrom: + secretKeyRef: + name: tactical-secrets + key: mesh-smtp-password + - name: SMTP_TLS + value: "false" volumeMounts: - mountPath: /opt/tactical name: tactical-data diff --git a/kubernetes/secrets.yaml b/kubernetes/secrets.yaml index ecaf279..e4fce23 100644 --- a/kubernetes/secrets.yaml +++ b/kubernetes/secrets.yaml @@ -12,5 +12,6 @@ data: # Default password: changeme trmm-password: Y2hhbmdlbWU= mesh-password: Y2hhbmdlbWU= + mesh-smtp-password: Y2hhbmdlbWU= mongodb-password: Y2hhbmdlbWU= postgres-password: Y2hhbmdlbWU=