UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Commit 3961c8e2 authored by Michael Martin's avatar Michael Martin
Browse files

use AdditionalScrapeConfigs for Minio/Prometheus

parent 2417d6b8
No related branches found
No related tags found
1 merge request!1485BigBang -- Minio servicemonitor dashboard not working
Pipeline #734804 passed with warnings
......@@ -14,6 +14,18 @@ imagePullSecrets:
operator:
image:
pullPolicy: {{ .Values.imagePullPolicy}}
{{- if .Values.monitoring.enabled }}
env:
- name: MINIO_OPERATOR_TLS_ENABLE
value: "on"
- name: CLUSTER_DOMAIN
value: "cluster.local"
- name: WATCHED_NAMESPACE
value: ""
- name: PROMETHEUS_NAMESPACE
value: "monitoring"
{{- end }}
networkPolicies:
enabled: {{ .Values.networkPolicies.enabled }}
......
......@@ -36,4 +36,8 @@ spec:
dependsOn:
- name: minio-operator
namespace: {{ .Release.Namespace }}
{{- if .Values.monitoring.enabled }}
- name: monitoring
namespace: {{ .Release.Namespace }}
{{- end }}
{{- end }}
......@@ -48,6 +48,7 @@ tenants:
secrets:
accessKey: {{ .Values.addons.minio.accesskey | default "minio" }}
secretKey: {{ .Values.addons.minio.secretkey | default "minio123" }}
{{- if .Values.monitoring.enabled }}
prometheusOperator: true
{{- end }}
{{- end -}}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment