Use updateStrategy as a variable instead of strategyType

This commit is contained in:
Waqar Ahmed
2021-02-03 18:11:11 +05:00
parent 17966e2927
commit de0e83ad39

View File

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