1
0
Fork 0
mirror of https://github.com/prometheus-operator/prometheus-operator.git synced 2025-04-15 16:56:24 +00:00

Fix prometheus chart for ruleNamespaceSelector (#1553)

* Fix prometheus chart for ruleNamespaceSelector
This commit is contained in:
Ali Rizwan 2018-06-29 15:50:29 +02:00 committed by Giancarlo Rubio
parent 0d953df574
commit cbc69a4d34
5 changed files with 7 additions and 3 deletions

View file

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

View file

@ -6,7 +6,7 @@ dependencies:
condition: deployAlertManager
- name: prometheus
version: 0.0.47
version: 0.0.48
#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.47
version: 0.0.48

View file

@ -86,6 +86,7 @@ spec:
{{ toYaml .Values.remoteWrite | indent 4 }}
{{- end }}
{{- if .Values.ruleNamespaceSelector }}
ruleNamespaceSelector:
{{ toYaml .Values.ruleNamespaceSelector | indent 4 }}
{{- end }}
{{- if .Values.rulesSelector }}

View file

@ -151,6 +151,9 @@ retention: 24h
##
routePrefix: /
## Namespaces to be selected for PrometheusRules discovery.
## If unspecified, only the same namespace as the Prometheus object is in is used.
ruleNamespaceSelector: {}
## Rules configmap selector
## Ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/design.md
##