Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

labels for the service #38

Open
GaugeTheory opened this issue Feb 9, 2022 · 0 comments
Open

labels for the service #38

GaugeTheory opened this issue Feb 9, 2022 · 0 comments

Comments

@GaugeTheory
Copy link

Hi. I have deployed aerospike prometheus exporter as a sidecar via helm chart to monitor it with my existing prometheus and grafana setup. I have created a servicemonitor and put a selector in it. However there is no way to set the label of the service so that it can match my custom selector on servicemonitor.

It would be nice to set any label for the service as in statefulset

labels keys are fixed here:

Statefulset has this option:

{{- with .Values.labels }}{{ toYaml . | nindent 4 }}{{ end }}

Thanks in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant