Use internal service name for SMTP

This commit is contained in:
CarlosEDP 2018-03-03 08:52:00 -05:00
parent 4d14d46311
commit 0a869e7a27
2 changed files with 2 additions and 2 deletions

2
deploy
View File

@ -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-roles.yaml
kubectl apply -f manifests/prometheus/prometheus-k8s-role-bindings.yaml kubectl apply -f manifests/prometheus/prometheus-k8s-role-bindings.yaml
kctl apply -f manifests/alertmanager/ kctl apply -f manifests/alertmanager/
kctl apply -f manifests/smtp-server/smtp.yaml

View File

@ -24,7 +24,7 @@ data:
[smtp] [smtp]
enabled = true enabled = true
host = 192.168.1.50:30025 host = smtp-server.monitoring.svc:30025
user = user =
password = password =
from_address = 'carlosedp@gmail.com' from_address = 'carlosedp@gmail.com'