Skip to content

Commit a3f005e

Browse files
authored
generate ServiceMonitor for Receive ingestors according to config (#280)
Signed-off-by: Michael Burt <[email protected]>
1 parent 56fed32 commit a3f005e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

jsonnet/kube-thanos/kube-thanos-receive-ingestor.libsonnet

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,5 @@ function(params) {
4242
for name in tr.config.hashrings
4343
},
4444
serviceAccount: ingestors.serviceAccount,
45+
serviceMonitor: if tr.config.serviceMonitor then ingestors.serviceMonitor,
4546
}

0 commit comments

Comments
 (0)