Explorar o código

Use updateStrategy as a variable instead of strategyType

Waqar Ahmed %!s(int64=4) %!d(string=hai) anos
pai
achega
de0e83ad39
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      library/common/2101.0.0/templates/lib/deployments/_utils

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