feat(argo-events): Update Argo Events to 1.5.0 (#995)

* Update image and tag for argo events deployments

Signed-off-by: Paul Ayling <paul.ayling@sky.uk>

* Update Nats images

Signed-off-by: Paul Ayling <paul.ayling@sky.uk>

* Update sensorImage and eventSourceImage

Signed-off-by: Paul Ayling <paul.ayling@sky.uk>

* Update Chart.yaml

Signed-off-by: Paul Ayling <paul.ayling@sky.uk>

* Place new argument at end to work with old images

Signed-off-by: Paul Ayling <paul.ayling@sky.uk>

* Update chart appversion and RBAC

Signed-off-by: Paul Ayling <paulayling.dev@gmail.com>

* Apply suggestions from code review

Co-authored-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
Signed-off-by: Paul Ayling <paulayling.dev@gmail.com>

* Default to Chart AppVersion if tag does not exist

Signed-off-by: Paul Ayling <paulayling.dev@gmail.com>

* Update Chart AppVersion to v1.5.0

Signed-off-by: Paul Ayling <paulayling.dev@gmail.com>

* Update changelog

Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>

Co-authored-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
This commit is contained in:
Paul Ayling 2021-10-27 16:13:40 +01:00 committed by GitHub
parent 7e988dcae2
commit 6ff8ee14f5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 24 additions and 58 deletions

View file

@ -40,10 +40,6 @@ rules:
- update
- watch
resources:
- workflows
- workflows/finalizers
- workflowtemplates
- workflowtemplates/finalizers
- sensors
- sensors/finalizers
- sensors/status
@ -61,7 +57,6 @@ rules:
- configmaps
- secrets
- services
- events
- persistentvolumeclaims
verbs:
- create
@ -71,18 +66,6 @@ rules:
- update
- patch
- delete
- apiGroups:
- "batch"
resources:
- jobs
verbs:
- create
- get
- list
- watch
- update
- patch
- delete
- apiGroups:
- "apps"
resources:
@ -96,5 +79,4 @@ rules:
- update
- patch
- delete
{{- end }}

View file

@ -42,10 +42,6 @@ rules:
- update
- watch
resources:
- workflows
- workflows/finalizers
- workflowtemplates
- workflowtemplates/finalizers
- sensors
- sensors/finalizers
- sensors/status
@ -63,7 +59,6 @@ rules:
- configmaps
- secrets
- services
- events
- persistentvolumeclaims
verbs:
- create
@ -73,18 +68,6 @@ rules:
- update
- patch
- delete
- apiGroups:
- "batch"
resources:
- jobs
verbs:
- create
- get
- list
- watch
- update
- patch
- delete
- apiGroups:
- "apps"
resources:
@ -98,5 +81,4 @@ rules:
- update
- patch
- delete
{{- end }}

View file

@ -29,10 +29,11 @@ spec:
serviceAccountName: {{ .Values.serviceAccount }}
containers:
- name: {{ .Values.eventbusController.name }}
image: "{{ .Values.registry }}/{{ .Values.eventbusController.image }}:{{ .Values.eventbusController.tag }}"
image: "{{ .Values.registry }}/{{ .Values.eventbusController.image }}:{{ .Values.eventbusController.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.imagePullPolicy }}
{{- if .Values.singleNamespace }}
args:
- eventbus-controller
{{- if .Values.singleNamespace }}
- --namespaced
{{- end }}
env:

View file

@ -29,10 +29,11 @@ spec:
serviceAccountName: {{ .Values.serviceAccount }}
containers:
- name: {{ .Values.eventsourceController.name }}
image: "{{ .Values.registry }}/{{ .Values.eventsourceController.image }}:{{ .Values.eventsourceController.tag }}"
image: "{{ .Values.registry }}/{{ .Values.eventsourceController.image }}:{{ .Values.eventsourceController.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.imagePullPolicy }}
{{- if .Values.singleNamespace }}
args:
- eventsource-controller
{{- if .Values.singleNamespace }}
- --namespaced
{{- end }}
env:
@ -44,7 +45,7 @@ spec:
fieldRef:
fieldPath: metadata.namespace
- name: EVENTSOURCE_IMAGE
value: "{{ .Values.registry }}/{{ .Values.eventsourceController.eventsourceImage }}:{{ .Values.eventsourceController.tag }}"
value: "{{ .Values.registry }}/{{ .Values.eventsourceController.eventsourceImage }}:{{ .Values.eventsourceController.tag | default .Chart.AppVersion }}"
livenessProbe:
httpGet:
path: /healthz

View file

@ -29,10 +29,11 @@ spec:
serviceAccountName: {{ .Values.serviceAccount }}
containers:
- name: {{ .Values.sensorController.name }}
image: "{{ .Values.registry }}/{{ .Values.sensorController.image }}:{{ .Values.sensorController.tag }}"
image: "{{ .Values.registry }}/{{ .Values.sensorController.image }}:{{ .Values.sensorController.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.imagePullPolicy }}
{{- if .Values.singleNamespace }}
args:
- sensor-controller
{{- if .Values.singleNamespace }}
- --namespaced
{{- end }}
env:
@ -44,7 +45,7 @@ spec:
fieldRef:
fieldPath: metadata.namespace
- name: SENSOR_IMAGE
value: "{{ .Values.registry }}/{{ .Values.sensorController.sensorImage }}:{{ .Values.sensorController.tag }}"
value: "{{ .Values.registry }}/{{ .Values.sensorController.sensorImage }}:{{ .Values.sensorController.tag | default .Chart.AppVersion }}"
livenessProbe:
httpGet:
path: /healthz