mirror of
https://github.com/coder/coder.git
synced 2026-09-22 05:05:20 +08:00
fix: set K8s deployment strategy to Recreate (#10321)
This commit is contained in:
@@ -177,6 +177,9 @@ resource "kubernetes_deployment" "workspace" {
|
||||
"coder.workspace_id" = data.coder_workspace.me.id
|
||||
}
|
||||
}
|
||||
strategy {
|
||||
type = "Recreate"
|
||||
}
|
||||
template {
|
||||
metadata {
|
||||
labels = {
|
||||
|
||||
@@ -250,6 +250,9 @@ resource "kubernetes_deployment" "main" {
|
||||
"app.kubernetes.io/name" = "coder-workspace"
|
||||
}
|
||||
}
|
||||
strategy {
|
||||
type = "Recreate"
|
||||
}
|
||||
|
||||
template {
|
||||
metadata {
|
||||
|
||||
Reference in New Issue
Block a user