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 }}