mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/mongodb]: configure update strategy for deployments (#19720)
Signed-off-by: Sameer Naik <sameersbn@vmware.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
c8a048dd32
commit
d1a1600b40
@@ -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" . }}
|
||||
|
||||
Reference in New Issue
Block a user