Compare commits
2 Commits
660cdfb996
...
dc43044d00
Author | SHA1 | Date |
---|---|---|
Daniel Berteaud | dc43044d00 | |
Daniel Berteaud | a026f5ea7c |
|
@ -5,6 +5,8 @@ job "smtp-relay" {
|
||||||
region = "global"
|
region = "global"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
group "smtp-relay" {
|
group "smtp-relay" {
|
||||||
|
|
||||||
count = 1
|
count = 1
|
||||||
|
@ -77,7 +79,7 @@ job "smtp-relay" {
|
||||||
data = <<_EOF
|
data = <<_EOF
|
||||||
# SMTP Auth
|
# SMTP Auth
|
||||||
SMTP_USERNAME=smtp@example.org
|
SMTP_USERNAME=smtp@example.org
|
||||||
SMTP_PASSWORD={{ with secret "/kv/service/smtp-relay" }}{{ .Data.data.pwd }}{{ end }}
|
SMTP_PASSWORD={{ with secret "kv/service/smtp-relay" }}{{ .Data.data.pwd }}{{ end }}
|
||||||
_EOF
|
_EOF
|
||||||
destination = "secrets/env"
|
destination = "secrets/env"
|
||||||
uid = 100000
|
uid = 100000
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
path "/kv/data/service/smtp-relay" {
|
path "kv/data/service/smtp-relay" {
|
||||||
capabilities = ["read"]
|
capabilities = ["read"]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue