From 51b0194b8ad8fb3247aa0649aff4497d4c5aeaf4 Mon Sep 17 00:00:00 2001 From: Kanagaraj M Date: Wed, 22 Sep 2021 21:46:41 +0530 Subject: [PATCH] fix servicemonitor scheme in helm chart (#13271) Added `scheme` to servicemonitor.yaml --- helm/minio/templates/servicemonitor.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/helm/minio/templates/servicemonitor.yaml b/helm/minio/templates/servicemonitor.yaml index c88a2418a..7fc11fc12 100644 --- a/helm/minio/templates/servicemonitor.yaml +++ b/helm/minio/templates/servicemonitor.yaml @@ -18,8 +18,10 @@ spec: endpoints: {{- if .Values.tls.enabled }} - port: https + scheme: https {{ else }} - port: http + scheme: http {{- end }} path: /minio/v2/metrics/cluster {{- if .Values.metrics.serviceMonitor.interval }}