mirror of
https://github.com/minio/minio.git
synced 2025-01-13 07:53:21 -05:00
helm: move Prometheus TLSConfig to job spec (#15739)
This commit is contained in:
parent
3b7292b637
commit
2e33b99c6b
@ -80,17 +80,19 @@ metadata:
|
|||||||
{{- end }}
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
jobName: {{ template "minio.fullname" . }}
|
jobName: {{ template "minio.fullname" . }}
|
||||||
prober:
|
|
||||||
url: {{ template "minio.fullname" . }}.{{ .Release.Namespace }}:{{ .Values.service.port }}
|
|
||||||
path: /minio/v2/metrics/cluster
|
|
||||||
{{- if .Values.tls.enabled }}
|
{{- if .Values.tls.enabled }}
|
||||||
scheme: https
|
|
||||||
tlsConfig:
|
tlsConfig:
|
||||||
ca:
|
ca:
|
||||||
secret:
|
secret:
|
||||||
name: {{ .Values.tls.certSecret }}
|
name: {{ .Values.tls.certSecret }}
|
||||||
key: {{ .Values.tls.publicCrt }}
|
key: {{ .Values.tls.publicCrt }}
|
||||||
serverName: {{ template "minio.fullname" . }}
|
serverName: {{ template "minio.fullname" . }}
|
||||||
|
{{- end }}
|
||||||
|
prober:
|
||||||
|
url: {{ template "minio.fullname" . }}.{{ .Release.Namespace }}:{{ .Values.service.port }}
|
||||||
|
path: /minio/v2/metrics/cluster
|
||||||
|
{{- if .Values.tls.enabled }}
|
||||||
|
scheme: https
|
||||||
{{ else }}
|
{{ else }}
|
||||||
scheme: http
|
scheme: http
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
Loading…
Reference in New Issue
Block a user