mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
add optional service annotations to nexus chart (#2783)
This commit is contained in:
committed by
Reinhard Nägele
parent
d4ecb7b45b
commit
098d67c699
@@ -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:
|
||||
|
||||
@@ -17,6 +17,8 @@ service:
|
||||
livenessProbe:
|
||||
initialDelaySeconds: 30
|
||||
periodSeconds: 30
|
||||
annotations:
|
||||
# foo.io/bar: "true"
|
||||
ingress:
|
||||
enabled: false
|
||||
# Used to create an Ingress record.
|
||||
|
||||
Reference in New Issue
Block a user