Add ServiceMonitor Prometheus selector label (#116) All checks were successful continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: gitea/helm-chart#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 was merged in pull request #116.
This commit is contained in:
@@ -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: | ||||
| ||||
Reference in New Issue
Block a user