mirror of
https://github.com/minio/minio.git
synced 2025-03-30 17:23:42 -04:00
parent
246cbe1312
commit
745782a77a
@ -1,7 +1,7 @@
|
|||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
description: Multi-Cloud Object Storage
|
description: Multi-Cloud Object Storage
|
||||||
name: minio
|
name: minio
|
||||||
version: 3.1.1
|
version: 3.1.2
|
||||||
appVersion: RELEASE.2021-09-09T21-37-07Z
|
appVersion: RELEASE.2021-09-09T21-37-07Z
|
||||||
keywords:
|
keywords:
|
||||||
- minio
|
- minio
|
||||||
|
@ -11,6 +11,7 @@ metadata:
|
|||||||
chart: {{ template "minio.chart" . }}
|
chart: {{ template "minio.chart" . }}
|
||||||
release: {{ .Release.Name }}
|
release: {{ .Release.Name }}
|
||||||
heritage: {{ .Release.Service }}
|
heritage: {{ .Release.Service }}
|
||||||
|
monitoring: true
|
||||||
{{- if .Values.service.annotations }}
|
{{- if .Values.service.annotations }}
|
||||||
annotations:
|
annotations:
|
||||||
{{ toYaml .Values.service.annotations | indent 4 }}
|
{{ toYaml .Values.service.annotations | indent 4 }}
|
||||||
|
@ -28,9 +28,11 @@ spec:
|
|||||||
{{- if .Values.metrics.serviceMonitor.scrapeTimeout }}
|
{{- if .Values.metrics.serviceMonitor.scrapeTimeout }}
|
||||||
scrapeTimeout: {{ .Values.metrics.serviceMonitor.scrapeTimeout }}
|
scrapeTimeout: {{ .Values.metrics.serviceMonitor.scrapeTimeout }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if not .Values.metrics.serviceMonitor.public }}
|
||||||
bearerTokenSecret:
|
bearerTokenSecret:
|
||||||
name: {{ template "minio.fullname" . }}-prometheus
|
name: {{ template "minio.fullname" . }}-prometheus
|
||||||
key: token
|
key: token
|
||||||
|
{{- end }}
|
||||||
namespaceSelector:
|
namespaceSelector:
|
||||||
matchNames:
|
matchNames:
|
||||||
- {{ .Release.Namespace | quote }}
|
- {{ .Release.Namespace | quote }}
|
||||||
@ -38,4 +40,5 @@ spec:
|
|||||||
matchLabels:
|
matchLabels:
|
||||||
app: {{ include "minio.name" . }}
|
app: {{ include "minio.name" . }}
|
||||||
release: {{ .Release.Name }}
|
release: {{ .Release.Name }}
|
||||||
|
monitoring: true
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
@ -127,6 +127,10 @@ spec:
|
|||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: {{ template "minio.secretName" . }}
|
name: {{ template "minio.secretName" . }}
|
||||||
key: rootPassword
|
key: rootPassword
|
||||||
|
{{- if .Values.metrics.podMonitor.public }}
|
||||||
|
- name: MINIO_PROMETHEUS_AUTH_TYPE
|
||||||
|
value: "public"
|
||||||
|
{{- end}}
|
||||||
{{- range $key, $val := .Values.environment }}
|
{{- range $key, $val := .Values.environment }}
|
||||||
- name: {{ $key }}
|
- name: {{ $key }}
|
||||||
value: {{ $val | quote }}
|
value: {{ $val | quote }}
|
||||||
|
@ -331,6 +331,7 @@ metrics:
|
|||||||
serviceMonitor:
|
serviceMonitor:
|
||||||
enabled: false
|
enabled: false
|
||||||
additionalLabels: {}
|
additionalLabels: {}
|
||||||
|
public: true
|
||||||
# namespace: monitoring
|
# namespace: monitoring
|
||||||
# interval: 30s
|
# interval: 30s
|
||||||
# scrapeTimeout: 10s
|
# scrapeTimeout: 10s
|
||||||
|
Loading…
x
Reference in New Issue
Block a user