Skip to content

Commit

Permalink
Reformat stash chart template (#49)
Browse files Browse the repository at this point in the history
Signed-off-by: Tamal Saha <[email protected]>
  • Loading branch information
tamalsaha authored Apr 24, 2020
1 parent 65f8bee commit 20d51b0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
File renamed without changes.
8 changes: 4 additions & 4 deletions charts/stash/templates/servicemonitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ metadata:
name: {{ include "stash.fullname" . }}
namespace: {{ default .Release.Namespace .Values.monitoring.prometheus.namespace }}
labels:
{{- if .Values.monitoring.serviceMonitor.labels }}
{{- if .Values.monitoring.serviceMonitor.labels }}
{{- range $key, $val := .Values.monitoring.serviceMonitor.labels }}
{{ $key }}: {{ $val }}
{{- end }}
{{- else }}
{{- include "stash.selectorLabels" . | nindent 4 }}
{{- end }}
{{- else }}
{{- include "stash.selectorLabels" . | nindent 4 }}
{{- end }}
spec:
namespaceSelector:
matchNames:
Expand Down

0 comments on commit 20d51b0

Please sign in to comment.