Skip to content

Commit

Permalink
Merge pull request #124 from johnstarxx/fix-service-annotations
Browse files Browse the repository at this point in the history
Fixed indent issues
  • Loading branch information
cfis authored Jul 14, 2024
2 parents 2b11e8b + 87c264f commit 0722670
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion charts/docker-mailserver/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
appVersion: "14.0.0"
description: A fullstack but simple mailserver (smtp, imap, antispam, antivirus, ssl...) using Docker.
name: docker-mailserver
version: 4.0.3
version: 4.0.4
sources:
- https://github.com/docker-mailserver/docker-mailserver-helm
maintainers:
Expand Down
12 changes: 6 additions & 6 deletions charts/docker-mailserver/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,17 @@ metadata:
prometheus.io/path: {{ .Values.monitoring.service.path | quote }}
prometheus.io/port: {{ .Values.monitoring.service.port | quote }}
##
{{- if .Values.service.annotations }}
{{ toYaml .Values.service.annotations | indent 2 }}
{{ end }}
{{- if .Values.service.annotations }}
{{ toYaml .Values.service.annotations | indent 4 }}
{{ end }}
labels:
app.kubernetes.io/name: {{ template "dockermailserver.fullname" . }}
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
heritage: "{{ .Release.Service }}"
release: "{{ .Release.Name }}"
{{- if .Values.service.labels }}
{{ toYaml .Values.service.labels | indent 2 }}
{{ end }}
{{- if .Values.service.labels }}
{{ toYaml .Values.service.labels | indent 4 }}
{{ end }}
name: {{ template "dockermailserver.fullname" . }}
spec:
## If a load balancer is being used, ensure that the newer type of LB that passes along IP information is used
Expand Down

0 comments on commit 0722670

Please sign in to comment.