Skip to content

Commit 322f108

Browse files
Upgrade argo events and tunnel client (#577)
* upgraded tunnel-client to 0.1.3 * upgraded argo-events to v1.7.2-cap-CR-14600 * codefresh-eventbus resilience: added PDB, increased maxPayload, set resources limits Signed-off-by: Daniel Soifer <daniel.soifer@codefresh.io>
1 parent 47c216e commit 322f108

File tree

7 files changed

+40
-20
lines changed

7 files changed

+40
-20
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
VERSION=v0.0.520
1+
VERSION=v0.0.521
22

33
OUT_DIR=dist
44
YEAR?=$(shell date +"%Y")

docs/releases/release_notes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ cf version
2323

2424
```bash
2525
# download and extract the binary
26-
curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/v0.0.520/cf-linux-amd64.tar.gz | tar zx
26+
curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/v0.0.521/cf-linux-amd64.tar.gz | tar zx
2727

2828
# move the binary to your $PATH
2929
mv ./cf-linux-amd64 /usr/local/bin/cf
@@ -36,7 +36,7 @@ cf version
3636

3737
```bash
3838
# download and extract the binary
39-
curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/v0.0.520/cf-darwin-amd64.tar.gz | tar zx
39+
curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/v0.0.521/cf-darwin-amd64.tar.gz | tar zx
4040

4141
# move the binary to your $PATH
4242
mv ./cf-darwin-amd64 /usr/local/bin/cf
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
apiVersion: argoproj.io/v1alpha1
2+
kind: EventBus
3+
metadata:
4+
name: codefresh-eventbus
5+
annotations:
6+
argocd.argoproj.io/sync-wave: "2"
7+
spec:
8+
nats:
9+
native:
10+
replicas: 3
11+
auth: token
12+
maxPayload: "2MB"
13+
containerTemplate:
14+
resources:
15+
limits:
16+
cpu: 500m
17+
memory: 8Gi
18+
ephemeral-storage: 2Gi
19+
requests:
20+
cpu: 200m
21+
memory: 500Mi
22+
ephemeral-storage: 2Gi
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
apiVersion: policy/v1
2+
kind: PodDisruptionBudget
3+
metadata:
4+
name: codefresh-eventbus
5+
spec:
6+
minAvailable: 2
7+
selector:
8+
matchLabels:
9+
eventbus-name: codefresh-eventbus

manifests/argo-events/eventbus.yaml

Lines changed: 0 additions & 12 deletions
This file was deleted.
Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
apiVersion: kustomize.config.k8s.io/v1beta1
22
kind: Kustomization
33
resources:
4-
- https://raw.githubusercontent.com/codefresh-io/argo-events/v1.7.1-cap-CR-13091/manifests/install.yaml
5-
- https://raw.githubusercontent.com/codefresh-io/argo-events/v1.7.1-cap-CR-13091/manifests/install-validating-webhook.yaml
6-
- eventbus.yaml
4+
- https://raw.githubusercontent.com/codefresh-io/argo-events/v1.7.2-cap-CR-14600/manifests/install.yaml
5+
- https://raw.githubusercontent.com/codefresh-io/argo-events/v1.7.2-cap-CR-14600/manifests/install-validating-webhook.yaml
6+
- codefresh-eventbus.eventbus.yaml
7+
- codefresh-eventbus.pdb.yaml

manifests/runtime.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metadata:
55
namespace: "{{ namespace }}"
66
spec:
77
defVersion: 2.0.0
8-
version: 0.0.520
8+
version: 0.0.521
99
bootstrapSpecifier: github.com/codefresh-io/cli-v2/manifests/argo-cd
1010
components:
1111
- name: events
@@ -27,5 +27,5 @@ spec:
2727
url: github.com/codefresh-io/cli-v2/manifests/sealed-secrets
2828
- name: codefresh-tunnel-client
2929
type: helm
30-
url: github.com/codefresh-io/codefresh-tunnel-charts/codefresh-tunnel-client?ref=0.1.1
30+
url: github.com/codefresh-io/codefresh-tunnel-charts/codefresh-tunnel-client?ref=0.1.3
3131
feature: ingressless

0 commit comments

Comments
 (0)