{{- if (eq .Values.blueprint.provider.type "ldap") }} apiVersion: v1 kind: Service metadata: name: {{ include "authentik-application.fullname" . }}-ldap labels: {{- include "authentik-application.labels" . | nindent 4 }} spec: selector: {{- include "authentik-application.selectorLabels" . | nindent 4 }} app.kubernetes.io/component: ldap type: {{ .Values.ldap.service.type }} ports: - name: ldap protocol: TCP port: {{ .Values.ldap.service.port }} targetPort: ldap {{- end }}