fix(argo-workflows): Add unhealthyPodEvictionPolicy to workflow controller PDB
Signed-off-by: Clément FLEURY <clement.fleury@owkin.com>
This commit is contained in:
parent
69f3eddca8
commit
cd21b38541
3 changed files with 9 additions and 1 deletions
|
@ -3,7 +3,7 @@ appVersion: v3.5.12
|
|||
name: argo-workflows
|
||||
description: A Helm chart for Argo Workflows
|
||||
type: application
|
||||
version: 0.42.7
|
||||
version: 0.42.8
|
||||
icon: https://argo-workflows.readthedocs.io/en/stable/assets/logo.png
|
||||
home: https://github.com/argoproj/argo-helm
|
||||
sources:
|
||||
|
@ -18,3 +18,5 @@ annotations:
|
|||
artifacthub.io/changes: |
|
||||
- kind: added
|
||||
description: Support lifecycle and terminationGracePeriodSeconds for server
|
||||
- kind: added
|
||||
description: explicitly set unhealthyPodEvictionPolicy to IfHealthyBudget in controller PDB
|
||||
|
|
|
@ -14,6 +14,9 @@ spec:
|
|||
{{- else }}
|
||||
minAvailable: 0
|
||||
{{- end }}
|
||||
{{- if .Values.controller.pdb.unhealthyPodEvictionPolicy }}
|
||||
unhealthyPodEvictionPolicy: {{ .Values.controller.pdb.unhealthyPodEvictionPolicy }}
|
||||
{{- end }}
|
||||
selector:
|
||||
matchLabels:
|
||||
{{- include "argo-workflows.selectorLabels" (dict "context" . "name" .Values.controller.name) | nindent 6 }}
|
||||
|
|
|
@ -345,6 +345,9 @@ controller:
|
|||
# minAvailable: 1
|
||||
# maxUnavailable: 1
|
||||
|
||||
# -- [unhealthyPodEvictionPolicy] generally available since k8s v1.31+
|
||||
# unhealthyPodEvictionPolicy: IfHealthyBudget
|
||||
|
||||
# -- [Node selector]
|
||||
nodeSelector:
|
||||
kubernetes.io/os: linux
|
||||
|
|
Loading…
Reference in a new issue