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. (#1540)
* Added ruleNamespaceSelector to kube-prometheus and prometheus helm charts. * Update requirements.yaml
This commit is contained in:
parent
047de96d1a
commit
73f277b39d
6 changed files with 11 additions and 3 deletions
helm
kube-prometheus
prometheus
|
@ -7,4 +7,4 @@ maintainers:
|
|||
name: kube-prometheus
|
||||
sources:
|
||||
- https://github.com/coreos/prometheus-operator
|
||||
version: 0.0.85
|
||||
version: 0.0.86
|
||||
|
|
|
@ -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/
|
||||
|
||||
|
|
|
@ -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
|
||||
##
|
||||
|
|
|
@ -7,4 +7,4 @@ maintainers:
|
|||
name: prometheus
|
||||
sources:
|
||||
- https://github.com/coreos/prometheus-operator
|
||||
version: 0.0.45
|
||||
version: 0.0.46
|
||||
|
|
|
@ -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 | `{}`
|
||||
|
|
|
@ -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 }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue