Skip to content

Commit

Permalink
fix thanos-rule name mapping
Browse files Browse the repository at this point in the history
Signed-off-by: Anton <[email protected]>
  • Loading branch information
antonblr committed Feb 10, 2024
1 parent ea39e00 commit 3d83aba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bitnami/thanos/hack/sync_alerting_rules.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def new_representer(dumper, data):
'thanos-compact': 'compaction',
'thanos-query': 'query',
'thanos-receive': 'receive',
'thanos-ruler': 'ruler',
'thanos-rule': 'ruler',
'thanos-sidecar': 'sidecar',
'thanos-store': 'store_gateway'
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Generated from 'thanos-rule' group from https://github.com/thanos-io/thanos.git
Do not change in-place! In order to change this file run the script in
https://github.com/bitnami/charts/tree/main/bitnami/thanos/hack
*/ -}}
{{- if and .Values.metrics.enabled (or .Values.metrics.prometheusRule.default.create .Values.metrics.prometheusRule.default. ) }}
{{- if and .Values.metrics.enabled (or .Values.metrics.prometheusRule.default.create .Values.metrics.prometheusRule.default.ruler ) }}
apiVersion: monitoring.coreos.com/v1
kind: PrometheusRule
metadata:
Expand Down

0 comments on commit 3d83aba

Please sign in to comment.