1
0
Fork 0
mirror of https://github.com/prometheus-operator/prometheus-operator.git synced 2025-04-21 03:38:43 +00:00

Merge pull request from gianrubio/helm-serviceMonitor

[helm] Add serviceMonitorNamespaceSelector to prometheus helm chart
This commit is contained in:
Frederic Branczyk 2018-06-01 16:20:25 +02:00 committed by GitHub
commit 626f552004
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 8 additions and 3 deletions

View file

@ -7,4 +7,4 @@ maintainers:
name: kube-prometheus
sources:
- https://github.com/coreos/prometheus-operator
version: 0.0.75
version: 0.0.76

View file

@ -6,7 +6,7 @@ dependencies:
condition: deployAlertManager
- name: prometheus
version: 0.0.40
version: 0.0.41
#e2e-repository: file://../prometheus
repository: https://s3-eu-west-1.amazonaws.com/coreos-charts/stable/

View file

@ -7,4 +7,4 @@ maintainers:
name: prometheus
sources:
- https://github.com/coreos/prometheus-operator
version: 0.0.40
version: 0.0.41

View file

@ -68,6 +68,10 @@ spec:
matchLabels:
prometheus: {{ .Values.prometheusLabelValue }}
{{- end }}
{{- if .Values.serviceMonitorNamespaceSelector }}
serviceMonitorNamespaceSelector:
{{ toYaml .Values.serviceMonitorNamespaceSelector | indent 4 }}
{{- end }}
{{- if .Values.remoteRead }}
remoteRead:
{{ toYaml .Values.remoteRead | indent 4 }}

View file

@ -339,3 +339,4 @@ additionalScrapeConfigs: []
# - targets:
# - "localhost:9090"
serviceMonitorNamespaceSelector: {}