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