Skip to content

Commit

Permalink
Add documentation on how to configure additionalPrometheusRulesMap (p…
Browse files Browse the repository at this point in the history
…rometheus-community#109)

Signed-off-by: Quentin Bisson <quentin@giantswarm.io>
  • Loading branch information
QuentinBisson authored Sep 21, 2020
1 parent d3184e9 commit 03ba2ba
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/kube-prometheus-stack/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ name: kube-prometheus-stack
sources:
- https://github.com/prometheus-community/helm-charts
- https://github.com/prometheus-operator/kube-prometheus
version: 9.4.3
version: 9.4.4
appVersion: 0.38.1
tillerVersion: ">=2.12.0"
home: https://github.com/prometheus-operator/kube-prometheus
Expand Down
14 changes: 12 additions & 2 deletions charts/kube-prometheus-stack/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,16 +64,26 @@ 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: []
# additionalPrometheusRules: []
# - name: my-rule-file
# groups:
# - name: my_group
# rules:
# - 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 03ba2ba

Please sign in to comment.