Add ServiceMonitor Prometheus selector label (#116)
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/116 Reviewed-by: luhahn <luhahn@noreply.gitea.io> Reviewed-by: lafriks <lafriks@noreply.gitea.io> Co-authored-by: Starefossen <starefossen@noreply.gitea.io> Co-committed-by: Starefossen <starefossen@noreply.gitea.io>
This commit is contained in:
parent
33903d8f6c
commit
7ed82c7a63
@ -5,6 +5,9 @@ metadata:
|
||||
name: {{ include "gitea.fullname" . }}
|
||||
labels:
|
||||
{{- include "gitea.labels" . | nindent 4 }}
|
||||
{{- if .Values.metrics.serviceMonitor.prometheusSelector }}
|
||||
prometheus: {{ .Values.metrics.serviceMonitor.prometheusSelector }}
|
||||
{{- end }}
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
|
@ -114,6 +114,7 @@ gitea:
|
||||
enabled: false
|
||||
serviceMonitor:
|
||||
enabled: false
|
||||
# prometheusSelector: default
|
||||
|
||||
ldap:
|
||||
enabled: false
|
||||
|
Loading…
Reference in New Issue
Block a user