From e3c54b4e8b000313cb9a614ba9c3bf75249df42f Mon Sep 17 00:00:00 2001 From: Naseem Date: Sat, 20 Jul 2019 09:57:18 -0400 Subject: [PATCH] Add service annotations Signed-off-by: Naseem --- pkg/chartutil/create.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/chartutil/create.go b/pkg/chartutil/create.go index 2c9717e80..c52a4835c 100644 --- a/pkg/chartutil/create.go +++ b/pkg/chartutil/create.go @@ -88,6 +88,7 @@ securityContext: {} # runAsUser: 1000 service: + annotations: {} type: ClusterIP port: 80 @@ -252,6 +253,8 @@ metadata: name: {{ include ".fullname" . }} labels: {{ include ".labels" . | indent 4 }} + annotations: + {{- toYaml .Values.service.annotations | nindent 4 }} spec: type: {{ .Values.service.type }} ports: