trim space

This commit is contained in:
Stavros kois
2023-11-01 17:28:10 +02:00
committed by Stavros Kois
parent f004903659
commit 528c4e45aa

View File

@@ -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 -}}