Fix ServiceMonitor selector labels (#125)
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/125 Reviewed-by: Andrew Thornton <art27@cantab.net> Reviewed-by: lafriks <lafriks@noreply.gitea.io> Co-authored-by: luhahn <luhahn@noreply.gitea.io> Co-committed-by: luhahn <luhahn@noreply.gitea.io>
This commit is contained in:
parent
551f4e312e
commit
9106d68cdc
@ -5,8 +5,8 @@ metadata:
|
||||
name: {{ include "gitea.fullname" . }}
|
||||
labels:
|
||||
{{- include "gitea.labels" . | nindent 4 }}
|
||||
{{- if .Values.metrics.serviceMonitor.prometheusSelector }}
|
||||
prometheus: {{ .Values.metrics.serviceMonitor.prometheusSelector }}
|
||||
{{- if .Values.gitea.metrics.serviceMonitor.prometheusSelector }}
|
||||
prometheus: {{ .Values.gitea.metrics.serviceMonitor.prometheusSelector }}
|
||||
{{- end }}
|
||||
spec:
|
||||
selector:
|
||||
|
Loading…
Reference in New Issue
Block a user