Commit de0e83ad authored by Waqar Ahmed's avatar Waqar Ahmed

Use updateStrategy as a variable instead of strategyType

parent 17966e29
...@@ -14,7 +14,7 @@ Retrieve replicas/strategy/selector ...@@ -14,7 +14,7 @@ Retrieve replicas/strategy/selector
{{- define "common.deployment.common_spec" -}} {{- define "common.deployment.common_spec" -}}
replicas: {{ (default 1 .Values.replicas) }} replicas: {{ (default 1 .Values.replicas) }}
strategy: strategy:
type: {{ (default "Recreate" .Values.strategyType ) }} type: {{ (default "Recreate" .Values.updateStrategy ) }}
selector: selector:
matchLabels: {{ include "common.labels.selectorLabels" . | nindent 4 }} matchLabels: {{ include "common.labels.selectorLabels" . | nindent 4 }}
{{- end -}} {{- end -}}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment