thanos-io / kube-thanos

Kubernetes specific configuration for deploying Thanos.
Apache License 2.0
520 stars 177 forks source link

Create ServiceMonitor for Receive ingestors #280

Closed michael-burt closed 2 years ago

michael-burt commented 2 years ago

Changes

This PR enables the Receive ingestor ServiceMonitor if it is enabled by the config flag. It fixes an issue where no ServiceMonitor was created even it was enabled in the configuration.

Verification

I tested this out. It does not change default behavior.