Browse Source

Do not create ingress if LDAP is enabled

master
Fábio Kaiser Rauber 2 years ago
parent
commit
136aa4e385
  1. 2
      charts/emailleg/v1.4.0/templates/correioadm-ingress.yaml

2
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 }}
Loading…
Cancel
Save