From 0a869e7a276a3222041d2ff5da47c47c5991c6d4 Mon Sep 17 00:00:00 2001 From: CarlosEDP Date: Sat, 3 Mar 2018 08:52:00 -0500 Subject: [PATCH] Use internal service name for SMTP --- deploy | 2 +- manifests/grafana/grafana-configmap.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy b/deploy index 7e0434d..b331a68 100755 --- a/deploy +++ b/deploy @@ -39,4 +39,4 @@ find manifests/prometheus -type f ! -name prometheus-k8s-roles.yaml ! -name prom kubectl apply -f manifests/prometheus/prometheus-k8s-roles.yaml kubectl apply -f manifests/prometheus/prometheus-k8s-role-bindings.yaml kctl apply -f manifests/alertmanager/ - +kctl apply -f manifests/smtp-server/smtp.yaml diff --git a/manifests/grafana/grafana-configmap.yaml b/manifests/grafana/grafana-configmap.yaml index 6e6eb13..31f7ea5 100644 --- a/manifests/grafana/grafana-configmap.yaml +++ b/manifests/grafana/grafana-configmap.yaml @@ -24,7 +24,7 @@ data: [smtp] enabled = true - host = 192.168.1.50:30025 + host = smtp-server.monitoring.svc:30025 user = password = from_address = 'carlosedp@gmail.com'