ungleich-k8s/apps/fnux-playground/openldap/templates/service.yaml

18 lines
355 B
YAML

apiVersion: v1
kind: Service
metadata:
name: "{{ .Release.Name }}"
labels:
app: openldap
spec:
type: ClusterIP
selector:
app: "{{ tpl .Values.identifier . }}-openldap"
ports:
- port: 389
name: ldap
- port: 636
name: ldaps
# Required for TLS certificate generation via LetsEncrypt.
- port: 80
name: http