You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think the intention here is to scrape the /metrics path of the config-reloader. We can improve this a little by setting serviceMonitor.selfMonitor.port to http so that the first endpoint in the service monitor scrapes the correct port of the service it is referencing. However we cannot specify the port of the second endpoint and I think the helm-chart should default to working out-of-the-box, e.g. by setting serviceMonitor.selfMonitor.port to http and something like configReloader.serviceMonitor.selfMonitor.port to reloader-web.
Describe the bug a clear and concise description of what the bug is.
When both
configReloader.enabled
andserviceMonitor.selfMonitor.enabled
is set totrue
, the followingServiceMonitor
is generated:I think the intention here is to scrape the
/metrics
path of the config-reloader. We can improve this a little by settingserviceMonitor.selfMonitor.port
tohttp
so that the first endpoint in the service monitor scrapes the correct port of the service it is referencing. However we cannot specify theport
of the second endpoint and I think the helm-chart should default to working out-of-the-box, e.g. by settingserviceMonitor.selfMonitor.port
tohttp
and something likeconfigReloader.serviceMonitor.selfMonitor.port
toreloader-web
.What's your helm version?
version.BuildInfo{Version:"v3.17.0", GitCommit:"301108edc7ac2a8ba79e4ebf5701b0b6ce6a31e4", GitTreeState:"clean", GoVersion:"go1.23.4"}
What's your kubectl version?
Client Version: v1.32.1 Kustomize Version: v5.5.0 Server Version: v1.31.4
Which chart?
prometheus-blackbox-exporter
What's the chart version?
9.2.0
What happened?
The chart generated duplicated endpoints, both of which are missing the
port
informationWhat you expected to happen?
The chart should generate endpoints correctly matching those exposed by the associated service
How to reproduce it?
Render chart with the below values.yaml settings and look at the generated ServiceMonitor resource
Enter the changed values of values.yaml?
Enter the command that you execute and failing/misfunctioning.
helm template ...
Anything else we need to know?
No response
The text was updated successfully, but these errors were encountered: