[stable/mongodb]: configure update strategy for deployments (#19720)

Signed-off-by: Sameer Naik <sameersbn@vmware.com>
This commit is contained in:
Sameer Naik
2019-12-20 06:59:32 -08:00
committed by Kubernetes Prow Robot
parent c8a048dd32
commit d1a1600b40
2 changed files with 6 additions and 1 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
apiVersion: v1
name: mongodb
version: 7.6.1
version: 7.6.2
appVersion: 4.0.14
description: NoSQL document-oriented database that stores JSON-like documents with dynamic schemas, simplifying the integration of data in content-driven applications.
keywords:
@@ -16,6 +16,11 @@ metadata:
{{ toYaml . | indent 4 }}
{{- end }}
spec:
strategy:
type: {{ .Values.updateStrategy.type }}
{{- if (eq "Recreate" .Values.updateStrategy.type) }}
rollingUpdate: null
{{- end }}
selector:
matchLabels:
app: {{ template "mongodb.name" . }}