rolling update uptime kuma to avoid breaking the wal and sqlite db [ci skip]
This commit is contained in:
parent
dffc718fcb
commit
970e87c7b8
1 changed files with 6 additions and 3 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue