observatorium / thanos-receive-controller

Kubernetes controller to automatically configure Thanos receive hashrings
Apache License 2.0
96 stars 46 forks source link

Additional Generated ConfigMap Custom Label #140

Open GregSharpe1 opened 2 months ago

GregSharpe1 commented 2 months ago

What does this change solve?

When using k8s-sidecar to manage the router/distributor Thanos component's hashrings configuration, a label is required to discover the correct ConfigMap, this change adds the ability to define a custom label, through the use of --configmap-generated-custom-label that will be adding to the "generated" ConfigMap.