diff --git a/stable/mongodb/Chart.yaml b/stable/mongodb/Chart.yaml index d81e1009dd..723d1bfcd0 100644 --- a/stable/mongodb/Chart.yaml +++ b/stable/mongodb/Chart.yaml @@ -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: diff --git a/stable/mongodb/templates/deployment-standalone.yaml b/stable/mongodb/templates/deployment-standalone.yaml index 58ad0c5624..93e413ed4b 100644 --- a/stable/mongodb/templates/deployment-standalone.yaml +++ b/stable/mongodb/templates/deployment-standalone.yaml @@ -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" . }}