fix(helm-chart): make podManagementPolicy configurable
This commit is contained in:
parent
ced8693043
commit
f3bd1f1c3a
|
@ -10,7 +10,7 @@ metadata:
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||||||
spec:
|
spec:
|
||||||
serviceName: {{ include "emqx.fullname" . }}-headless
|
serviceName: {{ include "emqx.fullname" . }}-headless
|
||||||
podManagementPolicy: Parallel
|
podManagementPolicy: {{ .Values.podManagementPolicy }}
|
||||||
{{- if and .Values.persistence.enabled (not .Values.persistence.existingClaim) }}
|
{{- if and .Values.persistence.enabled (not .Values.persistence.existingClaim) }}
|
||||||
volumeClaimTemplates:
|
volumeClaimTemplates:
|
||||||
- metadata:
|
- metadata:
|
||||||
|
|
|
@ -17,6 +17,11 @@ image:
|
||||||
## Forces the recreation of pods during helm upgrades. This can be useful to update configuration values even if the container image did not change.
|
## Forces the recreation of pods during helm upgrades. This can be useful to update configuration values even if the container image did not change.
|
||||||
recreatePods: false
|
recreatePods: false
|
||||||
|
|
||||||
|
# Pod deployment policy
|
||||||
|
# value: OrderedReady | Parallel
|
||||||
|
# To redeploy a chart with existing PVC(s), the value must be set to Parallel to avoid deadlock
|
||||||
|
podManagementPolicy: Parallel
|
||||||
|
|
||||||
persistence:
|
persistence:
|
||||||
enabled: false
|
enabled: false
|
||||||
size: 20Mi
|
size: 20Mi
|
||||||
|
|
Loading…
Reference in New Issue