rolling update uptime kuma to avoid breaking the wal and sqlite db [ci skip]

This commit is contained in:
Viktor Barzin 2024-01-21 03:33:57 +00:00
parent dffc718fcb
commit 970e87c7b8
No known key found for this signature in database
GPG key ID: 4056458DBDBF8863

View file

@ -9,9 +9,9 @@ module "tls_secret" {
resource "kubernetes_namespace" "uptime-kuma" {
metadata {
name = "uptime-kuma"
labels = {
"istio-injection" : "enabled"
}
# labels = {
# "istio-injection" : "enabled"
# }
}
}
@ -28,6 +28,9 @@ resource "kubernetes_deployment" "uptime-kuma" {
}
spec {
replicas = 1
strategy {
type = "Recreate"
}
selector {
match_labels = {
app = "uptime-kuma"