Skip to content

Commit

Permalink
add: webhook & controller revisionHistoryLimit to values.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
mbouillaud committed Mar 8, 2025
1 parent a68c41f commit 631f803
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 5 deletions.
6 changes: 3 additions & 3 deletions charts/argo-events/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
2 changes: 2 additions & 0 deletions charts/argo-events/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down Expand Up @@ -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 |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ spec:
selector:
matchLabels:
{{- include "argo-events.selectorLabels" (dict "context" . "name" .Values.webhook.name) | nindent 6 }}
revisionHistoryLimit: 5
revisionHistoryLimit: {{ .Values.controller.revisionHistoryLimit }}
replicas: {{ .Values.webhook.replicas }}
template:
metadata:
Expand Down
6 changes: 6 additions & 0 deletions charts/argo-events/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 631f803

Please sign in to comment.