Add ServiceMonitor Prometheus selector label #116
No reviewers
Labels
No Label
has
backport
in progress
invalid
kind
breaking
kind
bug
kind
build
kind
dependency
kind
deployment
kind
docs
kind
enhancement
kind
feature
kind
lint
kind
proposal
kind
question
kind
refactor
kind
security
kind
testing
kind
translation
kind
ui
need
backport
priority
critical
priority
low
priority
maybe
priority
medium
reviewed
duplicate
reviewed
invalid
reviewed
wontfix
skip-changelog
status
blocked
status
needs-feedback
status
needs-reviews
status
wip
upstream
gitea
upstream
other
No Milestone
No Assignees
3 Participants
Notifications
Total Time Spent: 30 minutes
Due Date
Starefossen
30 minutes
No due date set.
Dependencies
No dependencies set.
Reference: gitea/helm-chart#116
Loading…
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! ?