fix(argo-workflows): Add unhealthyPodEvictionPolicy to workflow controller PDB

Signed-off-by: Clément FLEURY <clement.fleury@owkin.com>
This commit is contained in:
Clément FLEURY 2024-11-07 12:04:33 +01:00
parent 69f3eddca8
commit cd21b38541
No known key found for this signature in database
GPG key ID: 3E63A3B321EF0F17
3 changed files with 9 additions and 1 deletions

View file

@ -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

View file

@ -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 }}

View file

@ -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