浏览代码

trim space

Stavros kois 2 年之前
父节点
当前提交
528c4e45aa
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      library/common/templates/lib/workload/_deployementSpec.tpl

+ 1 - 1
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 -}}