Skip to content

Commit

Permalink
style: fix formatting in service-metrics.yaml
Browse files Browse the repository at this point in the history
Signed-off-by: Dominik Strebinger <[email protected]>
  • Loading branch information
ComputerBaer authored and mrueg committed Apr 20, 2022
1 parent 26adf8e commit 839b3bf
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions charts/coredns/templates/service-metrics.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,18 @@ metadata:
{{- if .Values.customLabels }}
{{ toYaml .Values.customLabels | indent 4 }}
{{- end }}
{{- if or .Values.prometheus.service.annotations .Values.service.annotations .Values.customAnnotations }}
{{- if or .Values.prometheus.service.annotations .Values.service.annotations .Values.customAnnotations }}
annotations:
{{- if .Values.prometheus.service.annotations }}
{{ toYaml .Values.prometheus.service.annotations | indent 4 }}
{{- end }}
{{- if .Values.service.annotations }}
{{ toYaml .Values.service.annotations | indent 4 }}
{{- end }}
{{- if .Values.customAnnotations }}
{{ toYaml .Values.customAnnotations | indent 4 }}
{{- end }}
{{- end }}
{{- if .Values.prometheus.service.annotations }}
{{- toYaml .Values.prometheus.service.annotations | nindent 4 }}
{{- end }}
{{- if .Values.service.annotations }}
{{- toYaml .Values.service.annotations | nindent 4 }}
{{- end }}
{{- if .Values.customAnnotations }}
{{- toYaml .Values.customAnnotations | nindent 4 }}
{{- end }}
{{- end }}
spec:
selector:
app.kubernetes.io/instance: {{ .Release.Name | quote }}
Expand Down

0 comments on commit 839b3bf

Please sign in to comment.