Add annotations for ServiceMonitor in helm chart
Signed-off-by: Mathieu Parent <mathieu.parent@insee.fr>
This commit is contained in:
parent
62d08c2e60
commit
ffd802d750
@ -18,6 +18,12 @@ metadata:
|
||||
{{- with .Values.prometheus.servicemonitor.labels }}
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- if .Values.prometheus.servicemonitor.annotations }}
|
||||
annotations:
|
||||
{{- with .Values.prometheus.servicemonitor.annotations }}
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
spec:
|
||||
jobLabel: {{ template "cert-manager.fullname" . }}
|
||||
selector:
|
||||
|
||||
@ -177,6 +177,7 @@ prometheus:
|
||||
interval: 60s
|
||||
scrapeTimeout: 30s
|
||||
labels: {}
|
||||
annotations: {}
|
||||
honorLabels: false
|
||||
|
||||
# Use these variables to configure the HTTP_PROXY environment variables
|
||||
|
||||
Loading…
Reference in New Issue
Block a user