fix servicemonitor scheme in helm chart (#13271)

Added `scheme` to servicemonitor.yaml
This commit is contained in:
Kanagaraj M 2021-09-22 21:46:41 +05:30 committed by GitHub
parent 9a27c4a2f0
commit 51b0194b8a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,8 +18,10 @@ spec:
endpoints: endpoints:
{{- if .Values.tls.enabled }} {{- if .Values.tls.enabled }}
- port: https - port: https
scheme: https
{{ else }} {{ else }}
- port: http - port: http
scheme: http
{{- end }} {{- end }}
path: /minio/v2/metrics/cluster path: /minio/v2/metrics/cluster
{{- if .Values.metrics.serviceMonitor.interval }} {{- if .Values.metrics.serviceMonitor.interval }}