observatorium / thanos-receive-controller

Kubernetes controller to automatically configure Thanos receive hashrings
Apache License 2.0
95 stars 45 forks source link

main.go: always set hash metric #33

Closed squat closed 4 years ago

squat commented 4 years ago

This commit ensures that the hash metric is always set, this way if the controller is re-started after the configmap is already correctly deployed, the metric will be set and no alert will fire.

Signed-off-by: Lucas Servén Marín lserven@gmail.com

cc @kakkoyun @aditya-konarde