add optional service annotations to nexus chart (#2783)

This commit is contained in:
James Rawlings
2017-12-05 21:50:02 +01:00
committed by Reinhard Nägele
parent d4ecb7b45b
commit 098d67c699
2 changed files with 6 additions and 0 deletions
@@ -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:
+2
View File
@@ -17,6 +17,8 @@ service:
livenessProbe:
initialDelaySeconds: 30
periodSeconds: 30
annotations:
# foo.io/bar: "true"
ingress:
enabled: false
# Used to create an Ingress record.