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:
parent
0d953df574
commit
cbc69a4d34
5 changed files with 7 additions and 3 deletions
|
@ -7,4 +7,4 @@ maintainers:
|
|||
name: kube-prometheus
|
||||
sources:
|
||||
- https://github.com/coreos/prometheus-operator
|
||||
version: 0.0.88
|
||||
version: 0.0.89
|
||||
|
|
|
@ -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/
|
||||
|
||||
|
|
|
@ -7,4 +7,4 @@ maintainers:
|
|||
name: prometheus
|
||||
sources:
|
||||
- https://github.com/coreos/prometheus-operator
|
||||
version: 0.0.47
|
||||
version: 0.0.48
|
||||
|
|
|
@ -86,6 +86,7 @@ spec:
|
|||
{{ toYaml .Values.remoteWrite | indent 4 }}
|
||||
{{- end }}
|
||||
{{- if .Values.ruleNamespaceSelector }}
|
||||
ruleNamespaceSelector:
|
||||
{{ toYaml .Values.ruleNamespaceSelector | indent 4 }}
|
||||
{{- end }}
|
||||
{{- if .Values.rulesSelector }}
|
||||
|
|
|
@ -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
|
||||
##
|
||||
|
|
Loading…
Add table
Reference in a new issue