make mailserver restart upon config change [CI SKIP]
This commit is contained in:
parent
2e314b5172
commit
7fb1782f13
1 changed files with 6 additions and 0 deletions
|
|
@ -55,6 +55,9 @@ resource "kubernetes_config_map" "mailserver_config" {
|
||||||
labels = {
|
labels = {
|
||||||
app = "mailserver"
|
app = "mailserver"
|
||||||
}
|
}
|
||||||
|
annotations = {
|
||||||
|
"reloader.stakater.com/match" = "true"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
data = {
|
data = {
|
||||||
|
|
@ -114,6 +117,9 @@ resource "kubernetes_deployment" "mailserver" {
|
||||||
labels = {
|
labels = {
|
||||||
"app" = "mailserver"
|
"app" = "mailserver"
|
||||||
}
|
}
|
||||||
|
annotations = {
|
||||||
|
"reloader.stakater.com/search" = "true"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
spec {
|
spec {
|
||||||
replicas = "1"
|
replicas = "1"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue