Skip to content

Commit 0c60db0

Browse files
Enable event reporter 2.0 by default + return rate limiter (#62)
* enable event reporter by default * add comment * update argo-cd image * fix docs * disable reporter in tests * align versions
1 parent 202f17b commit 0c60db0

File tree

8 files changed

+34
-7
lines changed

8 files changed

+34
-7
lines changed

charts/argo-cd/Chart.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
apiVersion: v2
2-
appVersion: v2.9-2024.2.29-0f82ce2ec
2+
appVersion: v2.9-2024.3.5-80c3e7225
33
kubeVersion: ">=1.23.0-0"
44
description: A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes.
55
name: argo-cd
6-
version: 5.53.12-5-cap-2.9-2024.2.29-0f82ce2ec
6+
version: 5.53.12-6-cap-2.9-2024.3.5-80c3e7225
77
home: https://github.com/argoproj/argo-helm
88
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
99
sources:
@@ -27,4 +27,6 @@ annotations:
2727
url: https://argoproj.github.io/argo-helm/pgp_keys.asc
2828
artifacthub.io/changes: |
2929
- kind: changed
30-
description: Upgrade Argo CD to v2.9-2024.2.15-cc783d89f. Getting application version configuration from the Codefresh API.
30+
description: Enable Event Reporter 2.0 by default with 3 replicas.
31+
- kind: changed
32+
description: Change ArgoCD image to 2.9-2024.3.5-80c3e7225 which includes event-reporter rate-limiter.

charts/argo-cd/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ NAME: my-release
416416
| eventReporter.containerSecurityContext | object | See [values.yaml] | Event reporter container-level security context |
417417
| eventReporter.dnsConfig | object | `{}` | [DNS configuration] |
418418
| eventReporter.dnsPolicy | string | `"ClusterFirst"` | Alternative DNS policy for event reporter pods |
419-
| eventReporter.enabled | bool | `false` | |
419+
| eventReporter.enabled | bool | `true` | |
420420
| eventReporter.env | list | `[]` | Environment variables to pass to event reporter |
421421
| eventReporter.envFrom | list | `[]` (See [values.yaml]) | envFrom to pass to event reporter |
422422
| eventReporter.extraArgs | list | `[]` | Additional command line arguments to pass to event reporter |
@@ -478,7 +478,7 @@ NAME: my-release
478478
| eventReporter.terminationGracePeriodSeconds | int | `30` | terminationGracePeriodSeconds for container lifecycle hook |
479479
| eventReporter.tolerations | list | `[]` (defaults to global.tolerations) | [Tolerations] for use with node taints |
480480
| eventReporter.topologySpreadConstraints | list | `[]` (defaults to global.topologySpreadConstraints) | Assign custom [TopologySpreadConstraints] rules to the event reporter |
481-
| eventReporter.version | string | `"v1"` | |
481+
| eventReporter.version | string | `"v2"` | |
482482
| eventReporter.volumeMounts | list | `[]` | Additional volumeMounts to the event reporter main container |
483483
| eventReporter.volumes | list | `[]` | Additional volumes to the event reporter pod |
484484
| extraObjects | list | `[]` | Array of extra K8s manifests to deploy |
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
11
# Test with default values
22
crds:
33
keep: false
4+
5+
# these tests only support vanilla argo-cd
6+
# do not work for event reporter component
7+
eventReporter:
8+
enabled: false

charts/argo-cd/ci/extension-values.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,8 @@ server:
1212
value: https://github.com/argoproj-labs/argocd-extension-metrics/releases/download/v1.0.0/extension.tar.gz
1313
- name: EXTENSION_CHECKSUM_URL
1414
value: https://github.com/argoproj-labs/argocd-extension-metrics/releases/download/v1.0.0/extension_checksums.txt
15+
16+
# these tests only support vanilla argo-cd
17+
# do not work for event reporter component
18+
eventReporter:
19+
enabled: false

charts/argo-cd/ci/external-redis-values.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,8 @@ redis-ha:
1010
externalRedis:
1111
host: "redis-master.redis.svc.cluster.local"
1212
password: "argocd"
13+
14+
# these tests only support vanilla argo-cd
15+
# do not work for event reporter component
16+
eventReporter:
17+
enabled: false

charts/argo-cd/ci/ha-autoscaling-values.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,8 @@ repoServer:
1414
autoscaling:
1515
enabled: true
1616
minReplicas: 2
17+
18+
# these tests only support vanilla argo-cd
19+
# do not work for event reporter component
20+
eventReporter:
21+
enabled: false

charts/argo-cd/ci/ha-static-values.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,8 @@ server:
1010

1111
repoServer:
1212
replicas: 2
13+
14+
# these tests only support vanilla argo-cd
15+
# do not work for event reporter component
16+
eventReporter:
17+
enabled: false

charts/argo-cd/values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3333,11 +3333,11 @@ notifications:
33333333

33343334
eventReporter:
33353335
# Enabled we need to skip argo-cd chart tests for this component
3336-
enabled: false
3336+
enabled: true
33373337
# Version we need to dynamically switch between old and new version
33383338
# one will be just hanging and the second one working
33393339
# possible values: v1, v2
3340-
version: v1
3340+
version: v2
33413341
name: event-reporter
33423342
## Amount of replicas for event reporting sharding
33433343
replicas: 3

0 commit comments

Comments
 (0)