observatorium / thanos-receive-controller

Kubernetes controller to automatically configure Thanos receive hashrings
Apache License 2.0
93 stars 42 forks source link

Improve Statefulset Label Missing logging #131

Open alecrajeev opened 4 months ago

alecrajeev commented 4 months ago

Currently if there is no statfulset that has the controller.receive.thanos.io/hashring the controller will not generate a configmap and it will not tell the end user.

This will add a warn logging message that will tell the user that it can not find a matching statefulset. This is useful when first setting up the controller.