mirror of
https://github.com/coreos/prometheus-operator.git
synced 2026-02-05 15:46:31 +01:00
helm/prometheus: support not having a serviceMonitorSelector (#874)
This commit is contained in:
committed by
Giancarlo Rubio
parent
0b87bfa150
commit
ed212b0a9f
@@ -5,7 +5,7 @@ dependencies:
|
||||
repository: https://s3-eu-west-1.amazonaws.com/coreos-charts/stable/
|
||||
|
||||
- name: prometheus
|
||||
version: 0.0.9
|
||||
version: 0.0.10
|
||||
#e2e-repository: file://../prometheus
|
||||
repository: https://s3-eu-west-1.amazonaws.com/coreos-charts/stable/
|
||||
|
||||
|
||||
@@ -7,4 +7,4 @@ maintainers:
|
||||
name: prometheus
|
||||
sources:
|
||||
- https://github.com/coreos/prometheus-operator
|
||||
version: 0.0.9
|
||||
version: 0.0.10
|
||||
|
||||
@@ -54,7 +54,8 @@ spec:
|
||||
{{- if .Values.rbacEnable }}
|
||||
serviceAccountName: {{ template "prometheus.fullname" . }}
|
||||
{{- end }}
|
||||
{{- if .Values.serviceMonitorsSelector }}
|
||||
{{ if and .Values.config.specifiedInValues .Values.config.value }}
|
||||
{{- else if .Values.serviceMonitorsSelector }}
|
||||
serviceMonitorSelector:
|
||||
{{ toYaml .Values.serviceMonitorsSelector | indent 4 }}
|
||||
{{- else }}
|
||||
|
||||
Reference in New Issue
Block a user