feat(argo-events): Add revisionhistorylimit webhook controller (#3196)

* add: webhook & controller revisionHistoryLimit to values.yaml

Signed-off-by: Martin Bouillaud <mbouillaud@lefigaro.fr>
Signed-off-by: Martin Bouillaud <contact@bouillaudmartin.fr>

* add default value to revisionHistoryLimit

Signed-off-by: Martin Bouillaud <mbouillaud@lefigaro.fr>
Signed-off-by: Martin Bouillaud <contact@bouillaudmartin.fr>

* trim default values in deployment

Signed-off-by: Martin Bouillaud <contact@bouillaudmartin.fr>

* fix: webhook typo

Signed-off-by: Martin Bouillaud <contact@bouillaudmartin.fr>

---------

Signed-off-by: Martin Bouillaud <mbouillaud@lefigaro.fr>
Signed-off-by: Martin Bouillaud <contact@bouillaudmartin.fr>
Co-authored-by: Martin Bouillaud <mbouillaud@lefigaro.fr>
Co-authored-by: Aikawa <yu.croco@gmail.com>
This commit is contained in:
Martin Bouillaud 2025-03-13 15:59:12 +01:00 committed by GitHub
parent 0161a0a834
commit 2151f800f2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 13 additions and 5 deletions

View file

@ -2,7 +2,7 @@ apiVersion: v2
appVersion: v1.9.5
description: A Helm chart for Argo Events, the event-driven workflow automation framework
name: argo-events
version: 2.4.13
version: 2.4.14
home: https://github.com/argoproj/argo-helm
icon: https://avatars.githubusercontent.com/u/30269780?s=200&v=4
keywords:
@ -18,5 +18,5 @@ annotations:
fingerprint: 2B8F22F57260EFA67BE1C5824B11F800CD9D2252
url: https://argoproj.github.io/argo-helm/pgp_keys.asc
artifacthub.io/changes: |
- kind: changed
description: Bump argo-events to v1.9.5
- kind: added
description: Add revisionHistoryLimit to values

View file

@ -180,6 +180,7 @@ done
| controller.readinessProbe.timeoutSeconds | int | `1` | Number of seconds after which the [probe] times out |
| controller.replicas | int | `1` | The number of events controller pods to run. |
| controller.resources | object | `{}` | Resource limits and requests for the events controller pods |
| controller.revisionHistoryLimit | int | `5` | The number of replicasets history to keep |
| controller.serviceAccount.annotations | object | `{}` | Annotations applied to created service account |
| controller.serviceAccount.automountServiceAccountToken | bool | `true` | Automount API credentials for the Service Account |
| controller.serviceAccount.create | bool | `true` | Create a service account for the events controller |
@ -222,6 +223,7 @@ done
| webhook.readinessProbe.timeoutSeconds | int | `1` | Number of seconds after which the [probe] times out |
| webhook.replicas | int | `1` | The number of webhook pods to run. |
| webhook.resources | object | `{}` | Resource limits and requests for the event controller pods |
| webhook.revisionHistoryLimit | int | `5` | The number of replicasets history to keep |
| webhook.serviceAccount.annotations | object | `{}` | Annotations applied to created service account |
| webhook.serviceAccount.automountServiceAccountToken | bool | `true` | Automount API credentials for the Service Account |
| webhook.serviceAccount.create | bool | `true` | Create a service account for the admission webhook |

View file

@ -10,7 +10,7 @@ spec:
selector:
matchLabels:
{{- include "argo-events.selectorLabels" (dict "context" . "name" .Values.controller.name) | nindent 6 }}
revisionHistoryLimit: 5
revisionHistoryLimit: {{ .Values.controller.revisionHistoryLimit }}
replicas: {{ .Values.controller.replicas }}
template:
metadata:

View file

@ -11,7 +11,7 @@ spec:
selector:
matchLabels:
{{- include "argo-events.selectorLabels" (dict "context" . "name" .Values.webhook.name) | nindent 6 }}
revisionHistoryLimit: 5
revisionHistoryLimit: {{ .Values.webhook.revisionHistoryLimit }}
replicas: {{ .Values.webhook.replicas }}
template:
metadata:

View file

@ -201,6 +201,9 @@ controller:
# @default -- `""` (defaults to global.image.imagePullPolicy)
imagePullPolicy: ""
# -- The number of replicasets history to keep
revisionHistoryLimit: 5
# -- The number of events controller pods to run.
replicas: 1
@ -363,6 +366,9 @@ webhook:
# @default -- `""` (defaults to global.image.imagePullPolicy)
imagePullPolicy: ""
# -- The number of replicasets history to keep
revisionHistoryLimit: 5
# -- The number of webhook pods to run.
replicas: 1