Skip to content

Commit

Permalink
restrict prometheus drop rule to 1.11.0-1.11.3 as it got fixed in the…
Browse files Browse the repository at this point in the history
… versions above
  • Loading branch information
mrIncompetent committed Oct 10, 2018
1 parent b0cb010 commit bf08a71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/pkg/resources/prometheus/configmap.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ scrape_configs:
names:
- "{{ $.TemplateData.Cluster.Status.NamespaceName }}"
{{- if semverCompare "~1.11.0" $.TemplateData.Cluster.Spec.Version }}
{{- if semverCompare ">=1.11.0, <= 1.11.3" $.TemplateData.Cluster.Spec.Version }}
metric_relabel_configs:
- source_labels: [job, __name__]
regex: 'controller-manager;rest_.*'
Expand Down

0 comments on commit bf08a71

Please sign in to comment.