Prechádzať zdrojové kódy

Use updateStrategy as a variable instead of strategyType

Waqar Ahmed 4 rokov pred
rodič
commit
de0e83ad39

+ 1 - 1
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 -}}