influxdata / helm-charts

Official Helm Chart Repository for InfluxData Applications
MIT License
233 stars 329 forks source link

Support custom labels and annotations for Deployments/StatefulSets #669

Open lovetoburnswhen opened 3 months ago

lovetoburnswhen commented 3 months ago

Allow users to configure additional labels and/or annotations on the Deployment/StatefulSet objects (not just for pods/services). This feature would be tremendously useful for environments that require certain labels to be set - currently the only alternative is to maintain a fork of the chart internally, which seems quite wasteful just to add a label.

lovetoburnswhen commented 3 months ago

https://github.com/influxdata/helm-charts/pull/666 and https://github.com/influxdata/helm-charts/pull/667 add resource-specific keys whereas https://github.com/influxdata/helm-charts/pull/668 extends the common labels. @rawkode @gitirabassi @timhallinflux let me know if you prefer one of these approaches and I can make the requisite changes.