fix servicemonitor scheme in helm chart (#13271)

Added `scheme` to servicemonitor.yaml
This commit is contained in:
Kanagaraj M authored and GitHub committed 2021-09-22 09:16:41 -07:00
1 parent 9a27c4a2f0
commit 51b0194b8a
1 file changed
+2
+2
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 }}