make mailserver restart upon config change [CI SKIP]

This commit is contained in:
viktorbarzin 2021-04-07 23:43:49 +01:00
parent c8eb6828e2
commit 2d89785bbc
No known key found for this signature in database
GPG key ID: 0EB088298288D958
2 changed files with 6 additions and 0 deletions

View file

@ -55,6 +55,9 @@ resource "kubernetes_config_map" "mailserver_config" {
labels = {
app = "mailserver"
}
annotations = {
"reloader.stakater.com/match" = "true"
}
}
data = {
@ -114,6 +117,9 @@ resource "kubernetes_deployment" "mailserver" {
labels = {
"app" = "mailserver"
}
annotations = {
"reloader.stakater.com/search" = "true"
}
}
spec {
replicas = "1"

Binary file not shown.