diff --git a/aks/application/resources.tf b/aks/application/resources.tf index e05010f..2b29db9 100644 --- a/aks/application/resources.tf +++ b/aks/application/resources.tf @@ -39,6 +39,10 @@ resource "kubernetes_deployment" "main" { } } + strategy { + type = var.is_web ? "RollingUpdate" : "Recreate" + } + template { metadata { labels = merge({ app = local.app_name }, local.gcp_wif_label)