Add ServiceMonitor Prometheus selector label #116
3 Participants
Due Date
Notifications
Total Time Spent: 30 minutes
Starefossen
30 minutes
No due date set.
Dependencies
No dependencies set.
Reference: gitea/helm-gitea#116
Reference in New Issue
Block a user
No description provided.
Delete Branch "Starefossen/helm-chart:fix-servicemonitor"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Add label to select what Prometheus you want to scrape the ServiceMonitor.
Thanks for the PR! I will test your changes tomorrow :)
@@ -5,6 +5,9 @@ metadata:name: {{ include "gitea.fullname" . }}labels:{{- include "gitea.labels" . | nindent 4 }}{{- if .Values.monitoring.serviceMonitor.prometheusSelector }}.Values.monitoring.serviceMonitor does not exist.
I think you mean:
.Values.metrics.serviceMonitor
Good catch! ?