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

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