mirror of
https://github.com/truenas/charts.git
synced 2026-04-10 22:28:53 +08:00
Use updateStrategy as a variable instead of strategyType
This commit is contained in:
@@ -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 -}}
|
||||
|
||||
Reference in New Issue
Block a user