Add ServiceMonitor Prometheus selector label #116

Merged
lafriks merged 4 commits from Starefossen/helm-chart:fix-servicemonitor into master 2021-03-01 12:18:10 +00:00
Contributor

Add label to select what Prometheus you want to scrape the ServiceMonitor.

Add label to select what Prometheus you want to scrape the ServiceMonitor.
Starefossen added 2 commits 2021-02-20 19:38:26 +00:00
Starefossen added spent time 2021-02-22 19:03:36 +00:00
30min
Member

Thanks for the PR! I will test your changes tomorrow :)

Thanks for the PR! I will test your changes tomorrow :)
luhahn requested changes 2021-02-24 08:33:31 +00:00
Dismissed
@ -5,6 +5,9 @@ metadata:
name: {{ include "gitea.fullname" . }}
labels:
{{- include "gitea.labels" . | nindent 4 }}
{{- if .Values.monitoring.serviceMonitor.prometheusSelector }}
Member

.Values.monitoring.serviceMonitor does not exist.

I think you mean:

.Values.metrics.serviceMonitor

.Values.monitoring.serviceMonitor does not exist. I think you mean: .Values.metrics.serviceMonitor
Author
Contributor

Good catch! ?

Good catch! ?
Starefossen marked this conversation as resolved
Starefossen added 1 commit 2021-02-24 11:37:09 +00:00
Fix prometheusSelector variable name
All checks were successful
continuous-integration/drone/pr Build is passing
80092be46d
luhahn approved these changes 2021-02-26 08:53:03 +00:00
Dismissed
lafriks added 1 commit 2021-03-01 12:17:23 +00:00
Merge branch 'master' into fix-servicemonitor
All checks were successful
continuous-integration/drone/pr Build is passing
69cb0e2597
lafriks approved these changes 2021-03-01 12:17:56 +00:00
Dismissed
lafriks merged commit 7ed82c7a63 into master 2021-03-01 12:18:10 +00:00
lafriks deleted branch fix-servicemonitor 2021-03-01 12:18:15 +00:00
lafriks added the
kind
enhancement
label 2021-03-01 12:18:24 +00:00
Sign in to join this conversation.
No description provided.