Skip to content

Commit

Permalink
generate ServiceMonitor for Receive ingestors according to config
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Burt <michaelpburt@gmail.com>
  • Loading branch information
michael-burt committed Jul 15, 2022
1 parent 5d3901b commit 9335503
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions jsonnet/kube-thanos/kube-thanos-receive-ingestor.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,5 @@ function(params) {
for name in tr.config.hashrings
},
serviceAccount: ingestors.serviceAccount,
serviceMonitor: if tr.config.serviceMonitor == true then ingestors.serviceMonitor,
}

0 comments on commit 9335503

Please sign in to comment.