diff --git a/library/common/templates/lib/workload/_deployementSpec.tpl b/library/common/templates/lib/workload/_deployementSpec.tpl index 4b9a29ddca8..173caa877f4 100644 --- a/library/common/templates/lib/workload/_deployementSpec.tpl +++ b/library/common/templates/lib/workload/_deployementSpec.tpl @@ -10,7 +10,7 @@ objectData: {{- define "ix.v1.common.lib.workload.deploymentSpec" -}} {{- $objectData := .objectData -}} {{- $rootCtx := .rootCtx -}} - {{- $strategy := $objectData.strategy | default "Recreate" }} + {{- $strategy := $objectData.strategy | default "Recreate" -}} {{- $replicas := 1 -}} {{- if hasKey $objectData "replicas" -}} {{- $replicas = $objectData.replicas -}}