From de0e83ad397297bdfc73dd18962fe8452352d910 Mon Sep 17 00:00:00 2001 From: Waqar Ahmed Date: Wed, 3 Feb 2021 18:11:11 +0500 Subject: [PATCH] Use updateStrategy as a variable instead of strategyType --- library/common/2101.0.0/templates/lib/deployments/_utils | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/common/2101.0.0/templates/lib/deployments/_utils b/library/common/2101.0.0/templates/lib/deployments/_utils index da53d79370..cc34cc36cc 100644 --- a/library/common/2101.0.0/templates/lib/deployments/_utils +++ b/library/common/2101.0.0/templates/lib/deployments/_utils @@ -14,7 +14,7 @@ Retrieve replicas/strategy/selector {{- define "common.deployment.common_spec" -}} replicas: {{ (default 1 .Values.replicas) }} strategy: - type: {{ (default "Recreate" .Values.strategyType ) }} + type: {{ (default "Recreate" .Values.updateStrategy ) }} selector: matchLabels: {{ include "common.labels.selectorLabels" . | nindent 4 }} {{- end -}}