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

Added ruleNamespaceSelector to kube-prometheus and prometheus charts. ()

* Added ruleNamespaceSelector to kube-prometheus and prometheus helm charts.

* Update requirements.yaml
This commit is contained in:
Ali Rizwan 2018-06-28 11:49:01 +02:00 committed by Giancarlo Rubio
parent 047de96d1a
commit 73f277b39d
6 changed files with 11 additions and 3 deletions

View file

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

View file

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

View file

@ -261,6 +261,10 @@ prometheus:
##
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
##

View file

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

View file

@ -66,6 +66,7 @@ Parameter | Description | Default
`retention` | How long to retain metrics | `24h`
`routePrefix` | Prefix used to register routes, overriding externalUrl route | `/`
`rules` | Prometheus alerting & recording rules | `{}`
`ruleNamespaceSelector` | Namespaces to be selected for PrometheusRules discovery | `{}`
`rulesSelector` | Rules ConfigMap selector | `{}`
`secrets` | List of Secrets in the same namespace as the Prometheus object, which shall be mounted into the Prometheus Pods. | `{}`
`service.annotations` | Annotations to be added to the Prometheus Service | `{}`

View file

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