feat: Support to customize broker podManagementPolicy from values.yaml (#525)

This commit is contained in:
ludmanl 2024-09-03 12:47:52 +02:00 committed by GitHub
parent 0031827761
commit 54401c0b9a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 1 deletions

View File

@ -48,7 +48,9 @@ spec:
{{- if $stsObj }}
podManagementPolicy: {{ $stsObj.spec.podManagementPolicy }}
{{- else }}
{{- if not .Values.components.functions }}
{{- if .Values.broker.podManagementPolicy }}
podManagementPolicy: {{ .Values.broker.podManagementPolicy }}
{{- else if not .Values.components.functions }}
podManagementPolicy: Parallel
{{- else }}
podManagementPolicy: OrderedReady

View File

@ -806,6 +806,8 @@ broker:
maxReplicas: 3
metrics: ~
behavior: ~
# The podManagementPolicy cannot be modified for an existing deployment. If you need to change this value, you will need to manually delete the existing broker StatefulSet and then redeploy the chart.
podManagementPolicy:
initContainers: []
# This is how prometheus discovers this component
podMonitor: