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>
This commit is contained in:
Vlad Losev 2021-04-21 02:35:38 -07:00 committed by GitHub
parent 913a623dfb
commit 5fc4ed7d5b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 13 additions and 1 deletions

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: