From 8047fd9dfdf9e0ab5cc42671418db1ba2a82faca Mon Sep 17 00:00:00 2001 From: Naseem Date: Sat, 20 Jul 2019 10:00:02 -0400 Subject: [PATCH] Add pod annotations Signed-off-by: Naseem --- pkg/chartutil/create.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkg/chartutil/create.go b/pkg/chartutil/create.go index c52a4835c..08020fab0 100644 --- a/pkg/chartutil/create.go +++ b/pkg/chartutil/create.go @@ -118,6 +118,8 @@ resources: {} # cpu: 100m # memory: 128Mi +podAnnotations: {} + nodeSelector: {} tolerations: [] @@ -205,6 +207,8 @@ spec: labels: app.kubernetes.io/name: {{ include ".name" . }} app.kubernetes.io/instance: {{ .Release.Name }} + annotations: + {{- toYaml .Values.podAnnotations | nindent 8 }} spec: {{- with .Values.imagePullSecrets }} imagePullSecrets: