mirror of
https://github.com/wahyd4/charts.git
synced 2026-08-22 19:48:25 +10:00
[bitnami/influxdb] configure update strategy for deployments
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user