From 961f138dd0e479fe33a75ca5cc7d3798d38c4f7f Mon Sep 17 00:00:00 2001 From: Maxime Brunet <maxime.brunet@paytm.com> Date: Wed, 4 Aug 2021 14:22:06 -0700 Subject: [PATCH] Add back _config.runbookURLPattern for Thanos Sidecar rules --- jsonnet/kube-prometheus/components/prometheus.libsonnet | 1 + 1 file changed, 1 insertion(+) diff --git a/jsonnet/kube-prometheus/components/prometheus.libsonnet b/jsonnet/kube-prometheus/components/prometheus.libsonnet index a9d0100a..9a629389 100644 --- a/jsonnet/kube-prometheus/components/prometheus.libsonnet +++ b/jsonnet/kube-prometheus/components/prometheus.libsonnet @@ -59,6 +59,7 @@ function(params) { mixinThanos:: (import 'github.com/thanos-io/thanos/mixin/alerts/sidecar.libsonnet') + (import 'github.com/kubernetes-monitoring/kubernetes-mixin/lib/add-runbook-links.libsonnet') + { + _config+:: p._config.mixin._config, targetGroups: {}, sidecar: { selector: p._config.mixin._config.thanosSelector, -- GitLab