mirror of
https://github.com/minio/minio.git
synced 2025-02-23 11:32:32 -05:00
helm: add annotations for ServiceMonitor (#15020)
This commit is contained in:
parent
e94eb9af10
commit
2bc7ca2d34
@ -16,6 +16,10 @@ metadata:
|
|||||||
{{- if .Values.metrics.serviceMonitor.additionalLabels }}
|
{{- if .Values.metrics.serviceMonitor.additionalLabels }}
|
||||||
{{ toYaml .Values.metrics.serviceMonitor.additionalLabels | indent 4 }}
|
{{ toYaml .Values.metrics.serviceMonitor.additionalLabels | indent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if .Values.metrics.serviceMonitor.annotations }}
|
||||||
|
annotations:
|
||||||
|
{{ toYaml .Values.metrics.serviceMonitor.annotations | trimSuffix "\n" | indent 4 }}
|
||||||
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
endpoints:
|
endpoints:
|
||||||
{{- if .Values.tls.enabled }}
|
{{- if .Values.tls.enabled }}
|
||||||
|
@ -432,6 +432,7 @@ metrics:
|
|||||||
enabled: false
|
enabled: false
|
||||||
public: true
|
public: true
|
||||||
additionalLabels: {}
|
additionalLabels: {}
|
||||||
|
annotations: {}
|
||||||
relabelConfigs: {}
|
relabelConfigs: {}
|
||||||
# namespace: monitoring
|
# namespace: monitoring
|
||||||
# interval: 30s
|
# interval: 30s
|
||||||
|
Loading…
x
Reference in New Issue
Block a user