helm: Add missing TLS config for service monitor (#15228)

This commit is contained in:
Alexander Overvoorde 2022-07-14 23:29:08 +02:00 committed by GitHub
parent 3af41cd37d
commit bb4b143f3b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,6 +21,12 @@ spec:
{{- if .Values.tls.enabled }} {{- if .Values.tls.enabled }}
- port: https - port: https
scheme: https scheme: https
tlsConfig:
ca:
secret:
name: {{ .Values.tls.certSecret }}
key: {{ .Values.tls.publicCrt }}
serverName: {{ template "minio.fullname" . }}
{{ else }} {{ else }}
- port: http - port: http
scheme: http scheme: http