argocd-notifications: Add podAnnotations (#423)

Co-authored-by: Andy Feller <andrew.feller@gmail.com>
This commit is contained in:
Crystal Augustus 2020-08-15 13:49:27 -04:00 committed by GitHub
parent abadf9ad63
commit 85b1b83ad0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 1 deletions

View file

@ -12,6 +12,12 @@ spec:
{{- include "argocd-notifications.selectorLabels" . | nindent 6 }}
template:
metadata:
{{- if .Values.podAnnotations }}
annotations:
{{- range $key, $value := .Values.podAnnotations }}
{{ $key }}: {{ $value | quote }}
{{- end }}
{{- end }}
labels:
{{- include "argocd-notifications.selectorLabels" . | nindent 8 }}
spec: