diff --git a/charts/emailleg/v1.4.0/templates/correioadm-ingress.yaml b/charts/emailleg/v1.4.0/templates/correioadm-ingress.yaml index acbba89..0f0d076 100755 --- a/charts/emailleg/v1.4.0/templates/correioadm-ingress.yaml +++ b/charts/emailleg/v1.4.0/templates/correioadm-ingress.yaml @@ -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 }} +{{- end }} \ No newline at end of file