Skip to content

Commit

Permalink
Merge pull request #94 from genofire/patch-2
Browse files Browse the repository at this point in the history
chore: lint jvb/metrics-prometheus.yaml
  • Loading branch information
spijet authored Nov 24, 2023
2 parents 6593380 + be9aa8b commit fec528a
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions templates/jvb/metrics-prometheus.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,22 @@ metadata:
name: {{ template "jitsi-meet.jvb.fullname" . }}
labels:
{{- include "jitsi-meet.jvb.labels" . | nindent 4 }}
{{- range $key, $value := .Values.jvb.metrics.serviceMonitor.selector }}
{{ $key }}: {{ $value | quote }}
{{- with .Values.jvb.metrics.serviceMonitor.selector }}
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
endpoints:
- port: tcp-metrics
path: /metrics
{{- if .Values.jvb.metrics.serviceMonitor.honorLabels }}
honorLabels: {{ .Values.jvb.metrics.serviceMonitor.honorLabels }}
{{- with .Values.jvb.metrics.serviceMonitor.honorLabels }}
honorLabels: {{ . }}
{{- end }}
{{- if .Values.jvb.metrics.serviceMonitor.interval }}
interval: {{ .Values.jvb.metrics.serviceMonitor.interval }}
{{- with .Values.jvb.metrics.serviceMonitor.interval }}
interval: {{ . }}
{{- end }}
selector:
matchLabels:
{{- include "jitsi-meet.jvb.labels" . | nindent 6 }}
{{- include "jitsi-meet.jvb.labels" . | nindent 6 }}
namespaceSelector:
matchNames:
- {{ .Release.Namespace }}
Expand Down

0 comments on commit fec528a

Please sign in to comment.