From bb4b143f3b416d5d7cdb233c08c8b3059b1cb792 Mon Sep 17 00:00:00 2001 From: Alexander Overvoorde <60606100+OvervCW@users.noreply.github.com> Date: Thu, 14 Jul 2022 23:29:08 +0200 Subject: [PATCH] helm: Add missing TLS config for service monitor (#15228) --- helm/minio/templates/servicemonitor.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/helm/minio/templates/servicemonitor.yaml b/helm/minio/templates/servicemonitor.yaml index 809848f16..ab24dcefb 100644 --- a/helm/minio/templates/servicemonitor.yaml +++ b/helm/minio/templates/servicemonitor.yaml @@ -21,6 +21,12 @@ spec: {{- if .Values.tls.enabled }} - port: https scheme: https + tlsConfig: + ca: + secret: + name: {{ .Values.tls.certSecret }} + key: {{ .Values.tls.publicCrt }} + serverName: {{ template "minio.fullname" . }} {{ else }} - port: http scheme: http