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: