dragonflydb / dragonfly-operator

A Kubernetes operator to install and manage Dragonfly instances.
https://www.dragonflydb.io/docs/managing-dragonfly/operator/installation
Apache License 2.0
132 stars 28 forks source link

feat(resources): Add labels field to spec, which will be added to pods #134

Closed WesleyKlop closed 10 months ago

WesleyKlop commented 10 months ago

Hey there 👋

We wanted to add labels to the dragonfly pods which are used by some other tooling we have. Since that was not possible before, this PR adds support for that!

Please let me know if I'm missing something. One of the considerations I had is that the operator already assigns some labels to the pods/statefulset so we should not allow the user to override them (for now?).