Browse Source

Do not create config job if LDAP is enabled

master
Fábio Kaiser Rauber 2 years ago
parent
commit
fb0451d4e2
  1. 4
      charts/emailleg/v1.4.0/templates/config-job.yaml

4
charts/emailleg/v1.4.0/templates/config-job.yaml

@ -1,3 +1,4 @@
{{- if not .Values.mail.ldap.server }}
apiVersion: batch/v1 apiVersion: batch/v1
kind: Job kind: Job
metadata: metadata:
@ -59,4 +60,5 @@ spec:
operator: In operator: In
values: values:
- {{ .Release.Name }} - {{ .Release.Name }}
topologyKey: kubernetes.io/hostname topologyKey: kubernetes.io/hostname
{{- end }}
Loading…
Cancel
Save