openebs / lvm-localpv

Dynamically provision Stateful Persistent Node-Local Volumes & Filesystems for Kubernetes that is integrated with a backend LVM2 data storage stack.
Apache License 2.0
255 stars 96 forks source link

fix(lvm-node): update the lvm-node podlabels #158

Closed Ab-hishek closed 3 years ago

Ab-hishek commented 3 years ago

Signed-off-by: Abhishek Agarwal abhishek.agarwal@mayadata.io

Why is this PR required? What issue does it fix?: The lvm-node service selector field in helm template points to podLabels value which is empty by default. Hence when lvm-localpv is deployed using helm the lvm-node-service endpoints remain empty as the service's selector field is empty and not able to indetify any targets. With this issue, when monitoring is enabled for lvm, the servicemonitors are not able to identify its targets and therefore metrics scrapping doesn't occur.

What this PR does?: This PR adds podLabels value in values.yaml so that when lvm is installed via helm, the service selector field does not remain empty and endpoints are discovered.

Does this PR require any upgrade changes?: No

If the changes in this PR are manually verified, list down the scenarios covered::

Any additional information for your reviewer? : Mention if this PR is part of any design or a continuation of previous PRs

Checklist: