feat(argo-events): Add support for pod annotations. (#680)

* feat(argo-events): Add support for pod annotations.

Signed-off-by: Vlad Losev <vladimir.losev@sage.com>

* Apply suggestions from code review.

Co-authored-by: Oliver Bähler <oliverbaehler@hotmail.com>
Signed-off-by: Vlad Losev <vladimir.losev@sage.com>

Co-authored-by: Oliver Bähler <oliverbaehler@hotmail.com>

Signed-off-by: kostas-theo <ktheo@oneconcern.com>
This commit is contained in:
Vlad Losev 2021-04-21 02:35:38 -07:00 committed by kostas-theo
parent 315124d794
commit c623b656a1
5 changed files with 14 additions and 2 deletions

View file

@ -1,7 +1,7 @@
apiVersion: v2
description: A Helm chart to install Argo-Events in k8s Cluster
name: argo-events
version: 1.2.5
version: 1.4.0
keywords:
- argo-events
- sensor-controller

View file

@ -18,6 +18,9 @@ spec:
labels:
app: {{ .Release.Name }}-{{ .Values.eventbusController.name }}
release: {{ .Release.Name }}
{{- with .Values.eventbusController.podAnnotations }}
annotations: {{- toYaml . | nindent 8 }}
{{- end }}
spec:
serviceAccountName: {{ .Values.serviceAccount }}
containers:

View file

@ -18,6 +18,9 @@ spec:
labels:
app: {{ .Release.Name }}-{{ .Values.eventsourceController.name }}
release: {{ .Release.Name }}
{{- with .Values.eventsourceController.podAnnotations }}
annotations: {{- toYaml . | nindent 8 }}
{{- end }}
spec:
serviceAccountName: {{ .Values.serviceAccount }}
containers:

View file

@ -18,6 +18,9 @@ spec:
labels:
app: {{ .Release.Name }}-{{ .Values.sensorController.name }}
release: {{ .Release.Name }}
{{- with .Values.sensorController.podAnnotations }}
annotations: {{- toYaml . | nindent 8 }}
{{- end }}
spec:
serviceAccountName: {{ .Values.serviceAccount }}
containers:

View file

@ -14,7 +14,7 @@ installCRD: true
# ServiceAccount to use for running controller.
serviceAccount: argo-events-sa
# serviceAccountAnnotations can be used to enable GKE workload identity, or further other use-cases
# serviceAccountAnnotations can be used to enable GKE workload identity, or other use-cases
serviceAccountAnnotations: {}
# Create service accounts in additional namespaces specified
@ -51,6 +51,7 @@ sensorController:
tag: v1.2.3
replicaCount: 1
sensorImage: sensor
podAnnotations: {}
nodeSelector: {}
tolerations: {}
affinity: {}
@ -61,6 +62,7 @@ eventsourceController:
tag: v1.2.3
replicaCount: 1
eventsourceImage: eventsource
podAnnotations: {}
nodeSelector: {}
tolerations: {}
affinity: {}
@ -70,6 +72,7 @@ eventbusController:
image: eventbus-controller
tag: v1.2.3
replicaCount: 1
podAnnotations: {}
nodeSelector: {}
tolerations: {}
affinity: {}