[bitnami/influxdb] configure update strategy for deployments

This commit is contained in:
Sameer Naik
2019-12-16 21:28:18 +05:30
parent a8a3475628
commit 39ef693cd2
3 changed files with 11 additions and 1 deletions
+1 -1
View File
@@ -15,4 +15,4 @@ maintainers:
name: influxdb
sources:
- https://github.com/bitnami/bitnami-docker-influxdb
version: 0.2.5
version: 0.3.0
@@ -7,6 +7,11 @@ metadata:
app.kubernetes.io/component: influxdb
spec:
replicas: 1
strategy:
type: {{ .Values.influxdb.updateStrategy }}
{{- if (eq "Recreate" .Values.influxdb.updateStrategy) }}
rollingUpdate: null
{{- end }}
selector:
matchLabels: {{- include "influxdb.matchLabels" . | nindent 6 }}
app.kubernetes.io/component: influxdb
@@ -7,6 +7,11 @@ metadata:
app.kubernetes.io/component: relay
spec:
replicas: {{ .Values.relay.replicaCount }}
strategy:
type: {{ .Values.relay.updateStrategy }}
{{- if (eq "Recreate" .Values.relay.updateStrategy) }}
rollingUpdate: null
{{- end }}
selector:
matchLabels: {{- include "influxdb.matchLabels" . | nindent 6 }}
app.kubernetes.io/component: relay