mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/mongodb] updateStrategy added when useStatefulSet is true and serviceName added. (#21150)
* updateStrategy added when useStatefulSet is true and serviceName added. Signed-off-by: Ahmet Kaftan <ahmet.kaftan@cloudnesil.com> * typo fix. Signed-off-by: Ahmet Kaftan <ahmet.kaftan@cloudnesil.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
apiVersion: v1
|
||||
name: mongodb
|
||||
version: 7.8.6
|
||||
version: 7.8.7
|
||||
appVersion: 4.2.3
|
||||
description: NoSQL document-oriented database that stores JSON-like documents with dynamic schemas, simplifying the integration of data in content-driven applications.
|
||||
keywords:
|
||||
|
||||
@@ -16,7 +16,12 @@ metadata:
|
||||
{{ toYaml . | indent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
{{- if .Values.useStatefulSet }}
|
||||
serviceName: {{ template "mongodb.serviceName" . }}
|
||||
updateStrategy:
|
||||
{{- else }}
|
||||
strategy:
|
||||
{{- end }}
|
||||
type: {{ .Values.updateStrategy.type }}
|
||||
{{- if (eq "Recreate" .Values.updateStrategy.type) }}
|
||||
rollingUpdate: null
|
||||
|
||||
Reference in New Issue
Block a user