@ -1,3 +1,4 @@
{{- if not .Values.mail.ldap.server }}
{{- $fullName := include "emailleg.fullname" . -}}
{{- if semverCompare ">=1.19-0" .Capabilities.KubeVersion.GitVersion -}}
apiVersion: networking.k8s.io/v1
@ -36,3 +37,4 @@ spec:
serviceName: {{ .Release.Name }}-mail
servicePort: http
{{- end }}