argocd-notifications: Add podAnnotations (#423)

Co-authored-by: Andy Feller <andrew.feller@gmail.com>
main
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

@ -3,7 +3,7 @@ appVersion: 0.7.0
description: A Helm chart for ArgoCD notifications, an add-on to ArgoCD.
name: argocd-notifications
type: application
version: 1.0.9
version: 1.0.10
home: https://github.com/argoproj/argo-helm
icon: https://raw.githubusercontent.com/argoproj/argo/master/docs/assets/argo.png
keywords:

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:

View File

@ -101,6 +101,8 @@ metrics:
# interval: 30s
# scrapeTimeout: 10s
podAnnotations: {}
resources: {}
# limits:
# cpu: 100m