diff --git a/bitnami/thanos/hack/sync_alerting_rules.py b/bitnami/thanos/hack/sync_alerting_rules.py index 504c73187d4e8b..bd2110c379ad1d 100755 --- a/bitnami/thanos/hack/sync_alerting_rules.py +++ b/bitnami/thanos/hack/sync_alerting_rules.py @@ -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' } diff --git a/bitnami/thanos/templates/alert-rule/thanos-rule.yaml b/bitnami/thanos/templates/alert-rule/ruler.yaml similarity index 99% rename from bitnami/thanos/templates/alert-rule/thanos-rule.yaml rename to bitnami/thanos/templates/alert-rule/ruler.yaml index 492a7dd1e157e7..1e1ccd9ed53ea4 100644 --- a/bitnami/thanos/templates/alert-rule/thanos-rule.yaml +++ b/bitnami/thanos/templates/alert-rule/ruler.yaml @@ -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: