diff --git a/stable/sonatype-nexus/templates/service.yaml b/stable/sonatype-nexus/templates/service.yaml index e808f35823..9c0da1a38b 100644 --- a/stable/sonatype-nexus/templates/service.yaml +++ b/stable/sonatype-nexus/templates/service.yaml @@ -7,6 +7,10 @@ metadata: chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} release: {{ .Release.Name }} heritage: {{ .Release.Service }} +{{- if .Values.service.annotations }} + annotations: +{{ toYaml .Values.service.annotations | indent 4 }} +{{- end }} spec: type: {{ .Values.service.type }} ports: diff --git a/stable/sonatype-nexus/values.yaml b/stable/sonatype-nexus/values.yaml index 206646348d..8809a43f03 100644 --- a/stable/sonatype-nexus/values.yaml +++ b/stable/sonatype-nexus/values.yaml @@ -17,6 +17,8 @@ service: livenessProbe: initialDelaySeconds: 30 periodSeconds: 30 + annotations: + # foo.io/bar: "true" ingress: enabled: false # Used to create an Ingress record.