Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

Commit

Permalink
Add documentation on how to configure additionalPrometheusRulesMap
Browse files Browse the repository at this point in the history
  • Loading branch information
QuentinBisson committed Aug 19, 2020
1 parent 049de40 commit e76ed3c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion stable/prometheus-operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ sources:
- https://github.com/coreos/kube-prometheus
- https://github.com/coreos/prometheus-operator
- https://coreos.com/operators/prometheus
version: 9.3.1
version: 9.3.2
appVersion: 0.38.1
tillerVersion: ">=2.12.0"
home: https://github.com/coreos/prometheus-operator
Expand Down
12 changes: 11 additions & 1 deletion stable/prometheus-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ defaultRules:
## Annotations for default rules
annotations: {}

## Provide custom recording or alerting rules to be deployed into the cluster.
## Deprecated way to provide custom recording or alerting rules to be deployed into the cluster.
##
additionalPrometheusRules: []
# - name: my-rule-file
Expand All @@ -74,6 +74,16 @@ additionalPrometheusRules: []
# - record: my_record
# expr: 100 * my_record

## Provide custom recording or alerting rules to be deployed into the cluster.
##
# additionalPrometheusRulesMap:
# rule-name:
# groups:
# - name: my_group
# rules:
# - record: my_record
# expr: 100 * my_record

##
global:
rbac:
Expand Down

0 comments on commit e76ed3c

Please sign in to comment.